Fixed list field with key/value pairs throwing an exception due to bad value [#2199]

This commit is contained in:
Matias Griese
2022-02-07 11:10:07 +02:00
parent 9f9198b329
commit 0a815f6115
2 changed files with 2 additions and 1 deletions

View File

@@ -87,7 +87,7 @@
{% elseif child.name == 'value' %}
{# Special handling for the value field #}
{% set child = child|merge({ name: item_name }) %}
{% set child_value = value %}
{% set child_value = val %}
{% else %}
{% set child_value = form ? form.value(child.name) : data.value(child.name) %}
{% endif %}