mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-04 21:19:27 +08:00
fix(client): fix diabled in filter dynamic component (#3874)
This commit is contained in:
parent
5645ed4d6c
commit
7a3a2c4845
@ -56,11 +56,12 @@ export const DynamicComponent = (props: Props) => {
|
||||
'x-read-pretty': false,
|
||||
'x-validator': undefined,
|
||||
'x-decorator': undefined,
|
||||
'x-disabled': disabled,
|
||||
}}
|
||||
/>
|
||||
</FieldContext.Provider>
|
||||
);
|
||||
}, [props.schema]);
|
||||
}, [props.schema, disabled]);
|
||||
return (
|
||||
<FormContext.Provider value={form}>
|
||||
{component
|
||||
|
Loading…
x
Reference in New Issue
Block a user