fix: select record can not enable child collection (#1649)
This commit is contained in:
parent
cfd9ae3a65
commit
c4ef0dea8c
@ -44,7 +44,7 @@ export const EnableChildCollections = observer((props: any) => {
|
||||
properties: {
|
||||
childrenCollections: {
|
||||
type: 'array',
|
||||
default: defaultValues.filter((v) => childrenCollections.find((k) => k.name === v.collection)),
|
||||
default: defaultValues?.filter((v) => childrenCollections.find((k) => k.name === v.collection)),
|
||||
'x-component': 'ArrayItems',
|
||||
'x-decorator': 'FormItem',
|
||||
items: {
|
||||
|
Loading…
Reference in New Issue
Block a user