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 (
|
||||||
|
<BlockItem className={'nb-form-item'}>
|
||||||
<CollectionFieldProvider name={fieldSchema.name} allowNull={!fieldSchema['x-collection-field']}>
|
<CollectionFieldProvider name={fieldSchema.name} allowNull={!fieldSchema['x-collection-field']}>
|
||||||
<ACLCollectionFieldProvider>
|
<ACLCollectionFieldProvider>
|
||||||
<BlockItem className={'nb-form-item'}>
|
|
||||||
<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