mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix: x-disabled property not taking effect on form fields (#6610)
This commit is contained in:
parent
12e6824153
commit
6632c755d6
@ -108,6 +108,9 @@ const CollectionFieldInternalField = (props) => {
|
||||
if (fieldSchema['x-read-pretty'] === true && !field.readPretty) {
|
||||
field.readPretty = true;
|
||||
}
|
||||
if (fieldSchema['x-disabled'] === true) {
|
||||
field.disabled = true;
|
||||
}
|
||||
}, [field, fieldSchema]);
|
||||
|
||||
if (!uiSchema) return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user