Skip to content

Commit

Permalink
handle int values in choice lists
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jun 12, 2019
1 parent 8e0e69a commit f2a1fe7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- for c in h.scheming_field_choices(field) -%}
{%- if not form_restrict_choices_to or c.value in form_restrict_choices_to -%}
{%- do options.append({
'value': c.value,
'value': c.value|string,
'text': h.scheming_language_text(c.label) }) -%}
{%- endif -%}
{%- endfor -%}
Expand Down

0 comments on commit f2a1fe7

Please sign in to comment.