mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +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-read-pretty': false,
|
||||||
'x-validator': undefined,
|
'x-validator': undefined,
|
||||||
'x-decorator': undefined,
|
'x-decorator': undefined,
|
||||||
|
'x-disabled': disabled,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</FieldContext.Provider>
|
</FieldContext.Provider>
|
||||||
);
|
);
|
||||||
}, [props.schema]);
|
}, [props.schema, disabled]);
|
||||||
return (
|
return (
|
||||||
<FormContext.Provider value={form}>
|
<FormContext.Provider value={form}>
|
||||||
{component
|
{component
|
||||||
|
Loading…
x
Reference in New Issue
Block a user