Bug #8535

CheckBoxViewHelper hidden value creates extra data when using multi-valued field names

Added by Balisky Christophe almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
-
Target version:
-
Start date:
2010-06-28
Due date:
% Done:

100%

Estimated time:
Has patch:

Description

In fluid 1.2.0

When creating multiple edit grids (in tables for examples) I use the following syntax to retrieve an array of values to update in my form :

<ul>
<f:for each="{articles}" as="article">
<li>
<f:form.checkbox name="articles[]" value="{article.uid}" />
</li>
</f:for>
</ul>

But the new hidden field created to manage empty values actually adds a new entry in the articles array I receive.

This is a regression form previous versions of fluid.

The actual hidden field solution is only valid if uses with mono-valued fields.

#1

Updated by Bastian Waidelich almost 12 years ago

  • Project changed from 534 to TYPO3.Fluid
  • Status changed from New to Accepted
  • Assignee set to Bastian Waidelich
#2

Updated by Bastian Waidelich almost 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4874.

Also available in: Atom PDF