From c435c364751e69a086ddc3aed8e923b207050a7f Mon Sep 17 00:00:00 2001 From: rthoward Date: Thu, 11 Oct 2018 16:56:12 -0400 Subject: [PATCH] Don't showValid if input value is empty --- js/components/text_input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/text_input.js b/js/components/text_input.js index 883e0a75..7663b957 100644 --- a/js/components/text_input.js +++ b/js/components/text_input.js @@ -95,7 +95,7 @@ export default { } else if (invalidate) { this.showError = true } - this.showValid = valid + this.showValid = this.value != "" && valid // Emit a change event this.$root.$emit('field-change', {