mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-26 07:46:31 +01:00
Fixed list field with key/value pairs throwing an exception due to bad value [#2199]
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user