fix(core): custom widget validate bug in EditorControlPane (#3435)
This commit is contained in:
parent
ab7ba435ba
commit
e81a35ccb8
@ -19,7 +19,7 @@ export default class ControlPane extends React.Component {
|
|||||||
const name = field.get('name');
|
const name = field.get('name');
|
||||||
|
|
||||||
this.componentValidate[name] =
|
this.componentValidate[name] =
|
||||||
wrappedControl.innerWrappedControl.validate || wrappedControl.validate;
|
wrappedControl.innerWrappedControl?.validate || wrappedControl.validate;
|
||||||
}
|
}
|
||||||
|
|
||||||
validate = () => {
|
validate = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user