Skip to content

Commit 5cbf5aa

Browse files
authored
Update field.html
1 parent c333c35 commit 5cbf5aa

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
@@ -66,7 +66,7 @@
6666
<div class="input-field {{ classes.value }}">
6767
<select multiple>
6868
{% for choice in field %}
69-
<option value="{{ choice.tag }}">{{ choice.choice_label }}</option>
69+
<option value="{{ choice.value }}">{{ choice.choice_label }}</option>
7070
{% endfor %}
7171
</select>
7272
{% if field.auto_id %}
@@ -87,7 +87,7 @@
8787
{% else %}
8888
<select>
8989
{% for choice in field %}
90-
<option value="{{ choice.tag }}">{{ choice.choice_label }}</option>
90+
<option value="{{ choice.value }}">{{ choice.choice_label }}</option>
9191
{% endfor %}
9292
</select>
9393
{% if field.auto_id %}

0 commit comments

Comments
 (0)