Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Resources/views/Form/bootstrap.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
{% set id = null %}
{% set attr = (attribute(choice, 'attr') is defined) ? choice.attr : [] %}
<option value="{{ choice.value }}"
{% for key, attr in choice.attr %}{{ key }}="{{ attr }}"{% endfor %}
{% if choice is selectedchoice(value) %} selected="selected"{% endif %}
{{ block('widget_container_attributes') }}>
{{ choice_translation_domain is defined ? (choice_translation_domain is same as (false) ? choice.label : choice.label|trans({}, choice_translation_domain)) : choice.label|trans({}, translation_domain) }}
Expand Down