diff --git a/packages/core/client/src/schema-component/antd/association-field/InternalPicker.tsx b/packages/core/client/src/schema-component/antd/association-field/InternalPicker.tsx index add14c5186..31cffe421c 100644 --- a/packages/core/client/src/schema-component/antd/association-field/InternalPicker.tsx +++ b/packages/core/client/src/schema-component/antd/association-field/InternalPicker.tsx @@ -125,6 +125,9 @@ export const InternalPicker = observer( } setVisible(false); }, + style: { + display: multiple !== false && ['o2m', 'm2m'].includes(collectionField?.interface) ? 'block' : 'none', + }, }; }; return ( @@ -189,7 +192,12 @@ export const InternalPicker = observer( - +