fix: avoid errors
This commit is contained in:
parent
460d69fba8
commit
7d63262f8e
@ -538,7 +538,7 @@ FormItem.Designer = function Designer() {
|
|||||||
)}
|
)}
|
||||||
{form &&
|
{form &&
|
||||||
!form?.readPretty &&
|
!form?.readPretty &&
|
||||||
['o2m', 'm2m'].includes(collectionField.interface) &&
|
['o2m', 'm2m'].includes(collectionField?.interface) &&
|
||||||
fieldSchema['x-component'] !== 'TableField' && (
|
fieldSchema['x-component'] !== 'TableField' && (
|
||||||
<SchemaSettings.SwitchItem
|
<SchemaSettings.SwitchItem
|
||||||
key="multiple"
|
key="multiple"
|
||||||
|
Loading…
Reference in New Issue
Block a user