mvc - set a default data-size for increased readability (live-search is sometimes hidden)

.
This commit is contained in:
Ad Schellevis 2023-12-26 12:43:42 +01:00
parent 044b0d9ad9
commit 7a466c79c9

View File

@ -75,7 +75,7 @@
<input type="checkbox" class="{{style|default('')}}" id="{{ id }}">
{% elseif type in ["select_multiple", "dropdown"] %}
<select {% if type == 'select_multiple' %}multiple="multiple"{% endif %}
{% if size|default(false) %}data-size="{{size}}"{% endif %}
data-size="{{size|default(10)}}"
id="{{ id }}"
class="{{style|default('selectpicker')}}"
{% if hint|default(false) %}data-hint="{{hint}}"{% endif %}