fix: do not use cached value for list or object (#930)

This commit is contained in:
Daniel Lautzenheiser 2023-10-06 18:44:46 -04:00 committed by GitHub
parent dcf2fc90d1
commit 732a9a03d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,10 @@ const EditorControl = ({
path,
query,
t,
value: internalValue,
value:
field.widget === 'list' || field.widget === 'object'
? finalStorageValue
: internalValue,
forList,
listItemPath,
forSingleList,