diff --git a/js/components/text_input.js b/js/components/text_input.js index 962fcabf..92c8c7e4 100644 --- a/js/components/text_input.js +++ b/js/components/text_input.js @@ -102,6 +102,8 @@ export default { onBlur: function(e) { if (!(this.optional && e.target.value === '')) { this._checkIfValid({ value: e.target.value.trim(), invalidate: true }) + } else if (this.modified && !this.optional) { + this._checkIfValid({ value: e.target.value.trim(), invalidate: true }) } this.value = e.target.value.trim()