Skip to content

Commit d37c09a

Browse files
committed
Merge branch '2.3'
2 parents bdcbf12 + 7a72dd3 commit d37c09a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/views/Form/select2.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% block ecommit_javascript_select2entityajax_widget %}
22
{% spaceless %}
3-
<span class="select2-ajax">{{ form_widget(form) }}</span>
3+
<span class="select2-ajax">{{ form_widget(form, {'attr': {'class': (attr.class|default('') ~ ' form-control')|trim}}) }}</span>
44
<script type="text/javascript">
55
$(function () {
66
$("#{{ id }}").select2({

0 commit comments

Comments
 (0)