-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
ChoiceType generates options in selectbox with parent's attributes #16534
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
@ossinkine Can you provide a fork of the Symfony Standard Edition that reproduces your issue? |
@webmozart You have added rendering parent's attributes (03efce1#diff-b56b980552f37a32080a57032805f34dR11). Could you please explain for what did you do this and how should it work? |
This seems to have been fixed in the meantime. I could reproduce your issue with the Symfony version locked in your example project (i.e. 2.7.6), but it was resolved updating to Symfony 2.7.29 (which is the latest patch release for Symfony 2.7). |
I confirm, fixed in 2.7.19 |
I've created
TestFormType
created the form in the controller and passed to the view
rendered in the view
and I got this:
Options have the same attributes as select. Options shoud not have them.
I'm working on the latest version of 2.7 branch
The text was updated successfully, but these errors were encountered: