Convert string 'NaN' to empty string

This commit is contained in:
leigh-mil 2019-02-12 18:02:02 -05:00
parent 9a326b58b9
commit bf68ba6621

View File

@ -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 })
},