diff --git a/packages/core/client/src/schema-initializer/buttons/TableColumnInitializers.tsx b/packages/core/client/src/schema-initializer/buttons/TableColumnInitializers.tsx index ca12ab15c..6d8fcf351 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), }, ); });