Bug #8535
CheckBoxViewHelper hidden value creates extra data when using multi-valued field names
Status: | Resolved | Start date: | 2010-06-28 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | - | |||
Target version: | - | |||
Has patch: | Affected Flow version: |
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.
Associated revisions
History
#1 Updated by Bastian Waidelich about 5 years ago
- Project changed from Extbase MVC Framework to TYPO3.Fluid
- Status changed from New to Accepted
- Assigned To set to Bastian Waidelich
#2 Updated by Bastian Waidelich about 5 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r4874.