mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +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 = {
|
const pickerProps = {
|
||||||
size: 'small',
|
size: 'small',
|
||||||
fieldNames,
|
fieldNames,
|
||||||
multiple: multiple !== false && ['o2m', 'm2m', 'mbm'].includes(collectionField?.interface),
|
multiple:
|
||||||
|
multiple === true ? true : multiple !== false && ['o2m', 'm2m', 'mbm'].includes(collectionField?.interface),
|
||||||
association: {
|
association: {
|
||||||
target: collectionField?.target,
|
target: collectionField?.target,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user