Don't showValid if input value is empty

This commit is contained in:
rthoward 2018-10-11 16:56:12 -04:00
parent 95f6b17e3b
commit c435c36475

View File

@ -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', {