Convert string 'NaN' to empty string
This commit is contained in:
@@ -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 })
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user