Trim extra whitespace on blur

This commit is contained in:
leigh-mil 2019-02-13 10:50:38 -05:00
parent 91e1d14111
commit 7dc27fed1e

View File

@ -85,7 +85,8 @@ export default {
},
onBlur: function(e) {
this._checkIfValid({ value: e.target.value, invalidate: true })
this._checkIfValid({ value: e.target.value.trim(), invalidate: true })
this.value = e.target.value.trim()
},
//