mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-28 08:46:45 +01:00
Fixed list field with key/value pairs throwing an exception due to bad value [#2199]
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
* Prevent fields from being toggled incorrectly by adding originalValue to childs of fieldset. [#2218](https://github.com/getgrav/grav-plugin-admin/pull/2218)
|
||||
* Fixed persistent focus on Folder field when Adding page (Safari) [#2209](https://github.com/getgrav/grav-plugin-admin/issues/2209)
|
||||
* Fixed performance of Plugins / Themes sort in the installation table
|
||||
* Fixed list field with key/value pairs throwing an exception due to bad value [#2199](https://github.com/getgrav/grav-plugin-admin/issues/2199)
|
||||
|
||||
# v1.10.29
|
||||
## 01/28/2022
|
||||
|
||||
@@ -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