mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 21:28:34 +08:00
fix: fileManager selector should be radio when not allow multiple (#2884)
This commit is contained in:
parent
41f913b12f
commit
08f213bc16
@ -110,7 +110,7 @@ const InternalFileManager = (props) => {
|
||||
const pickerProps = {
|
||||
size: 'small',
|
||||
fieldNames,
|
||||
multiple: ['o2m', 'm2m'].includes(collectionField?.interface),
|
||||
multiple: ['o2m', 'm2m'].includes(collectionField?.interface) && multiple,
|
||||
association: {
|
||||
target: collectionField?.target,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user