mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-29 09:16:48 +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)
|
* 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 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 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
|
# v1.10.29
|
||||||
## 01/28/2022
|
## 01/28/2022
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
{% elseif child.name == 'value' %}
|
{% elseif child.name == 'value' %}
|
||||||
{# Special handling for the value field #}
|
{# Special handling for the value field #}
|
||||||
{% set child = child|merge({ name: item_name }) %}
|
{% set child = child|merge({ name: item_name }) %}
|
||||||
{% set child_value = value %}
|
{% set child_value = val %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set child_value = form ? form.value(child.name) : data.value(child.name) %}
|
{% set child_value = form ? form.value(child.name) : data.value(child.name) %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user