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 = {
|
const pickerProps = {
|
||||||
size: 'small',
|
size: 'small',
|
||||||
fieldNames,
|
fieldNames,
|
||||||
multiple: ['o2m', 'm2m'].includes(collectionField?.interface),
|
multiple: ['o2m', 'm2m'].includes(collectionField?.interface) && multiple,
|
||||||
association: {
|
association: {
|
||||||
target: collectionField?.target,
|
target: collectionField?.target,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user