From 732a9a03d623d0513171b70cfaaf7f0d25df3cd3 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Fri, 6 Oct 2023 18:44:46 -0400 Subject: [PATCH] fix: do not use cached value for list or object (#930) --- .../entry-editor/editor-control-pane/EditorControl.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/core/src/components/entry-editor/editor-control-pane/EditorControl.tsx b/packages/core/src/components/entry-editor/editor-control-pane/EditorControl.tsx index c7129db8..a616fc1d 100644 --- a/packages/core/src/components/entry-editor/editor-control-pane/EditorControl.tsx +++ b/packages/core/src/components/entry-editor/editor-control-pane/EditorControl.tsx @@ -220,7 +220,10 @@ const EditorControl = ({ path, query, t, - value: internalValue, + value: + field.widget === 'list' || field.widget === 'object' + ? finalStorageValue + : internalValue, forList, listItemPath, forSingleList,