diff --git a/src/renderer/components/input/input.tsx b/src/renderer/components/input/input.tsx index f3e015806a..ef4b419909 100644 --- a/src/renderer/components/input/input.tsx +++ b/src/renderer/components/input/input.tsx @@ -191,6 +191,8 @@ export class Input extends React.Component { return this.getValidatorError(value, validator) || (error instanceof Error ? error.message : String(error)); } })()); + } else if (!validator.validate(value, this.props)) { + errors.push(this.getValidatorError(value, validator)); } }