Skip to content

Commit e5197e2

Browse files
authored
Merge pull request #42 from vonNiklasson/disabled-select-fix
Fix disabled select fields
2 parents 4d4fcff + 872112e commit e5197e2

File tree

1 file changed

+2
-2
lines changed
  • materializecssform/templates/materializecssform

1 file changed

+2
-2
lines changed

materializecssform/templates/materializecssform/field.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
{% if classes.icon %}
9595
{% include 'materializecssform/field_icon.html' %}
9696
{% endif %}
97-
<select multiple name="{{ field.html_name }}">
97+
<select multiple name="{{ field.html_name }}" {% include 'materializecssform/attrs.html' %} >
9898
{% for choice in field %}
9999
{{ choice.tag }}
100100
{% endfor %}
@@ -117,7 +117,7 @@
117117
{% if classes.icon %}
118118
{% include 'materializecssform/field_icon.html' %}
119119
{% endif %}
120-
<select name="{{ field.html_name }}">
120+
<select name="{{ field.html_name }}" {% include 'materializecssform/attrs.html' %} >
121121
{% for choice in field %}
122122
{{ choice.tag }}
123123
{% endfor %}

0 commit comments

Comments
 (0)