Move NaN/empty string check to formatDollars

This commit is contained in:
leigh-mil
2019-02-13 10:17:44 -05:00
parent bf68ba6621
commit 1cc3328729
2 changed files with 4 additions and 3 deletions

View File

@@ -85,9 +85,6 @@ export default {
},
onBlur: function(e) {
if (this.validation === 'dollars' && this.value === '$NaN') {
this.value = this.initialValue
}
this._checkIfValid({ value: e.target.value, invalidate: true })
},