diff --git a/packages/sanity/src/core/form/store/formState.ts b/packages/sanity/src/core/form/store/formState.ts index d9c74e1b2d3..4c0fb06cc7e 100644 --- a/packages/sanity/src/core/form/store/formState.ts +++ b/packages/sanity/src/core/form/store/formState.ts @@ -681,7 +681,7 @@ function prepareObjectInputState( castArray(memberWithHiddenState.group).includes(group.name) ) }) - return hasMembers ? group : {...group, disabled: true} + return hasMembers ? group : [] }) : []