Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 732a9a0

Browse files
authored
fix: do not use cached value for list or object (#930)
1 parent dcf2fc9 commit 732a9a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/core/src/components/entry-editor/editor-control-pane/EditorControl.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ const EditorControl = ({
220220
path,
221221
query,
222222
t,
223-
value: internalValue,
223+
value:
224+
field.widget === 'list' || field.widget === 'object'
225+
? finalStorageValue
226+
: internalValue,
224227
forList,
225228
listItemPath,
226229
forSingleList,

0 commit comments

Comments
 (0)