diff --git a/js/components/text_input.js b/js/components/text_input.js index 002884a2..506274a6 100644 --- a/js/components/text_input.js +++ b/js/components/text_input.js @@ -84,6 +84,10 @@ export default { } }, + onBlur: function(e) { + this._checkIfValid({ value: e.target.value, invalidate: true }) + }, + // _checkIfValid: function({ value, invalidate = false }) { // Validate the value diff --git a/templates/components/text_input.html b/templates/components/text_input.html index 97797983..553f4574 100644 --- a/templates/components/text_input.html +++ b/templates/components/text_input.html @@ -64,6 +64,7 @@