Open psylosss opened 8 years ago
:+1:
For me it's work with that : https://github.com/Yoopies/bootstrap-bundle/commit/4bb320eb154d73c5d29848600712b3b55a771612 But I don't know if there's something else to add or if I can do a PR
The attributes
block in Yoopies@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.
Please add support of
choice_attr
option (http://symfony.com/doc/current/reference/forms/types/choice.html#choice-attr).