diff --git a/packages/core/components/AutoField/fields/ArrayField/index.tsx b/packages/core/components/AutoField/fields/ArrayField/index.tsx index 4ee62ada5d..f9faea1a24 100644 --- a/packages/core/components/AutoField/fields/ArrayField/index.tsx +++ b/packages/core/components/AutoField/fields/ArrayField/index.tsx @@ -137,12 +137,16 @@ export const ArrayField = ({ event.destination?.index ); - onChange(newValue, { + const newUi = { arrayState: { ...state.ui.arrayState, [id]: { ...arrayState, items: newArrayStateItems }, }, - }); + }; + + setUi(newUi, false); + + onChange(newValue, newUi); setLocalState({ value: newValue,