fix: should display settings after field deleted (#3606)
This commit is contained in:
parent
c5dd034452
commit
a37195eb4f
@ -70,13 +70,13 @@ export const FormItem: any = observer(
|
|||||||
const fieldSchema = useFieldSchema();
|
const fieldSchema = useFieldSchema();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CollectionFieldProvider name={fieldSchema.name} allowNull={!fieldSchema['x-collection-field']}>
|
<BlockItem className={'nb-form-item'}>
|
||||||
<ACLCollectionFieldProvider>
|
<CollectionFieldProvider name={fieldSchema.name} allowNull={!fieldSchema['x-collection-field']}>
|
||||||
<BlockItem className={'nb-form-item'}>
|
<ACLCollectionFieldProvider>
|
||||||
<Item className={className} {...props} extra={extra} />
|
<Item className={className} {...props} extra={extra} />
|
||||||
</BlockItem>
|
</ACLCollectionFieldProvider>
|
||||||
</ACLCollectionFieldProvider>
|
</CollectionFieldProvider>
|
||||||
</CollectionFieldProvider>
|
</BlockItem>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
{ displayName: 'FormItem' },
|
{ displayName: 'FormItem' },
|
||||||
|
Loading…
Reference in New Issue
Block a user