Don't showValid if input value is empty
This commit is contained in:
parent
95f6b17e3b
commit
c435c36475
@ -95,7 +95,7 @@ export default {
|
|||||||
} else if (invalidate) {
|
} else if (invalidate) {
|
||||||
this.showError = true
|
this.showError = true
|
||||||
}
|
}
|
||||||
this.showValid = valid
|
this.showValid = this.value != "" && valid
|
||||||
|
|
||||||
// Emit a change event
|
// Emit a change event
|
||||||
this.$root.$emit('field-change', {
|
this.$root.$emit('field-change', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user