diff --git a/src/components/ControlPanel/ControlPane.js b/src/components/ControlPanel/ControlPane.js index 93a3ce98..31ab81b6 100644 --- a/src/components/ControlPanel/ControlPane.js +++ b/src/components/ControlPanel/ControlPane.js @@ -17,7 +17,10 @@ export default class ControlPane extends Component { } validate = () => { - this.props.fields.forEach(field => this.componentValidate[field.get("name")]()); + this.props.fields.forEach((field) => { + if (isHidden(field)) return; + this.componentValidate[field.get("name")](); + }); }; controlFor(field) {