Convert string 'NaN' to empty string
This commit is contained in:
parent
9a326b58b9
commit
bf68ba6621
@ -85,6 +85,9 @@ export default {
|
||||
},
|
||||
|
||||
onBlur: function(e) {
|
||||
if (this.validation === 'dollars' && this.value === '$NaN') {
|
||||
this.value = this.initialValue
|
||||
}
|
||||
this._checkIfValid({ value: e.target.value, invalidate: true })
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user