mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 11:36:42 +00:00
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();
|
||||
|
||||
return (
|
||||
<CollectionFieldProvider name={fieldSchema.name} allowNull={!fieldSchema['x-collection-field']}>
|
||||
<ACLCollectionFieldProvider>
|
||||
<BlockItem className={'nb-form-item'}>
|
||||
<BlockItem className={'nb-form-item'}>
|
||||
<CollectionFieldProvider name={fieldSchema.name} allowNull={!fieldSchema['x-collection-field']}>
|
||||
<ACLCollectionFieldProvider>
|
||||
<Item className={className} {...props} extra={extra} />
|
||||
</BlockItem>
|
||||
</ACLCollectionFieldProvider>
|
||||
</CollectionFieldProvider>
|
||||
</ACLCollectionFieldProvider>
|
||||
</CollectionFieldProvider>
|
||||
</BlockItem>
|
||||
);
|
||||
},
|
||||
{ displayName: 'FormItem' },
|
||||
|
Loading…
Reference in New Issue
Block a user