Fix hiding of selects when switchable
Change-Id: I6e6ddefa6f1dcef6b8f1500ec5f09e73d3f0545f
Closes-Bug: 1658383
(cherry picked from commit 56cc9ce14d
)
This commit is contained in:
parent
3612ac6dfe
commit
5701a15f82
|
@ -40,7 +40,7 @@
|
|||
name="{{ name }}"
|
||||
{% endif %}
|
||||
{% for k,v in select_attrs.items %}
|
||||
{% if k != 'class' %}
|
||||
{% if k != 'class' or 'switch' in v %}
|
||||
{{ k|safe }}="{{ v }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue