diff --git a/js/components/text_input.js b/js/components/text_input.js index baa07d83..06eb100c 100644 --- a/js/components/text_input.js +++ b/js/components/text_input.js @@ -72,7 +72,11 @@ export default { // _checkIfValid: function ({ value, invalidate = false}) { // Validate the value - const valid = this._validate(value) + let valid = this._validate(value) + + if (this.initialErrors && this.initialErrors.length) { + valid = false + } // Show error messages or not if (valid) {