From 6885f38d8edfa094f17d8c08d9f4ea55736ef8d7 Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Tue, 6 May 2025 17:29:01 +0800 Subject: [PATCH] fix(InternalPicker): correct display logic for multiple selection --- .../schema-component/antd/association-field/InternalPicker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9f24de9620..eb9547df46 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 @@ -144,7 +144,7 @@ export const InternalPicker = observer( setVisible(false); }, style: { - display: multiple !== false && ['o2m', 'm2m', 'mbm'].includes(collectionField?.interface) ? 'block' : 'none', + display: multiple === false ? 'none' : 'block', }, }; };