mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-04 21:19:27 +08:00
fix: update multiple prop logic in InternalPicker
This commit is contained in:
parent
0c1122a93f
commit
7c4989c992
@ -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,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user