diff --git a/packages/core/client/src/schema-settings/EnableChildCollections/index.tsx b/packages/core/client/src/schema-settings/EnableChildCollections/index.tsx index 58e7eebea..4642903ac 100644 --- a/packages/core/client/src/schema-settings/EnableChildCollections/index.tsx +++ b/packages/core/client/src/schema-settings/EnableChildCollections/index.tsx @@ -44,7 +44,7 @@ export const EnableChildCollections = observer((props: any) => { properties: { childrenCollections: { type: 'array', - default: defaultValues, + default: defaultValues.filter((v) => childrenCollections.find((k) => k.name === v.collection)), 'x-component': 'ArrayItems', 'x-decorator': 'FormItem', items: {