Skip to content
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

choice_attr #413

Open
psylosss opened this issue Jan 1, 2016 · 2 comments
Open

choice_attr #413

psylosss opened this issue Jan 1, 2016 · 2 comments

Comments

@psylosss
Copy link

psylosss commented Jan 1, 2016

Please add support of choice_attr option (http://symfony.com/doc/current/reference/forms/types/choice.html#choice-attr).

@AntoineLemaire
Copy link

👍

For me it's work with that : Yoopies@4bb320e
But I don't know if there's something else to add or if I can do a PR

@mogzol
Copy link

mogzol commented Aug 18, 2016

The attributes block in Yoopies/bootstrap-bundle@4bb320e is unnecessary since the twig uses form_div_layout.html.twig which already has that block anyway. All that needs to be changed are those two lines inside choice_widget_options and then choice_attr works perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants