From 7c4989c992ac1e13a71756ac1c13f59c5add112a Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Sun, 27 Apr 2025 13:46:14 +0800 Subject: [PATCH] fix: update multiple prop logic in InternalPicker --- .../schema-component/antd/association-field/InternalPicker.tsx | 3 ++- 1 file changed, 2 insertions(+), 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 afe85386bc..9f24de9620 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 @@ -106,7 +106,8 @@ export const InternalPicker = observer( const pickerProps = { size: 'small', fieldNames, - multiple: multiple !== false && ['o2m', 'm2m', 'mbm'].includes(collectionField?.interface), + multiple: + multiple === true ? true : multiple !== false && ['o2m', 'm2m', 'mbm'].includes(collectionField?.interface), association: { target: collectionField?.target, },