diff --git a/packages/core/client/src/schema-component/hooks/useFieldModeOptions.tsx b/packages/core/client/src/schema-component/hooks/useFieldModeOptions.tsx index 5e68e22bd..7ce4cdf60 100644 --- a/packages/core/client/src/schema-component/hooks/useFieldModeOptions.tsx +++ b/packages/core/client/src/schema-component/hooks/useFieldModeOptions.tsx @@ -43,7 +43,7 @@ export const useFieldModeOptions = (props?) => { : [ { label: t('Select'), value: 'Select' }, { label: t('Record picker'), value: 'Picker' }, - { label: t('Sub-table'), value: 'SubTable' }, + ['m2m', 'o2m'].includes(collectionField.interface) && { label: t('Sub-table'), value: 'SubTable' }, { label: t('Cascade Select'), value: 'CascadeSelect' }, !isSubTableField && { label: t('Sub-form'), value: 'Nester' }, { label: t('Sub-form(Popover)'), value: 'PopoverNester' },