-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Form choice: choices group break on 2.7.1 #15192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Should be fixed by #15061 |
I just re-tested now and it seems that it's not fixed in version 2.7.1 :-( Here is a basic code to reproduce the issue.
In twig template:
It seems that this bug appears only when there is identical labels (here "Sous activité B"). |
it produce also with a simple list like this:
I think it's due to the method |
This is fixed in Symfony 2.7.2. |
Hi,
I recently upgrade from 2.6.9 to 2.7.1 and found a issue when use the choice form type.
I define an array of choice and add the form type :
This works fine in 2.6.9 but not in 2.7.1.
The id of sub-option "Sous activité B" of group "Fitness" is wrong.
It product only there are sub-options with same name in different group
Here with the version 2.6.9
Here with the version 2.7.1
The text was updated successfully, but these errors were encountered: