Merge "Fix hiding of selects when switchable"
This commit is contained in:
commit
6faecc6faa
@ -40,7 +40,7 @@
|
|||||||
name="{{ name }}"
|
name="{{ name }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for k,v in select_attrs.items %}
|
{% for k,v in select_attrs.items %}
|
||||||
{% if k != 'class' %}
|
{% if k != 'class' or 'switch' in v %}
|
||||||
{{ k|safe }}="{{ v }}"
|
{{ k|safe }}="{{ v }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user