diff --git a/packages/core/client/src/schema-initializer/buttons/TableColumnInitializers.tsx b/packages/core/client/src/schema-initializer/buttons/TableColumnInitializers.tsx index ca12ab15cd..6d8fcf351a 100644 --- a/packages/core/client/src/schema-initializer/buttons/TableColumnInitializers.tsx +++ b/packages/core/client/src/schema-initializer/buttons/TableColumnInitializers.tsx @@ -33,7 +33,7 @@ export const TableColumnInitializers = (props: any) => { { type: 'itemGroup', title: t(`Parent collection fields`) + '(' + compile(`${Object.keys(inherit)[0]}`) + ')', - children: Object.values(inherit)[0], + children: Object.values(inherit)[0].filter((v)=>!v?.field?.isForeignKey), }, ); });