Merge pull request #643 from dod-ccpo/text-input-validation-fix

Trim extra whitespace on blur
This commit is contained in:
leigh-mil
2019-02-14 14:48:20 -05:00
committed by GitHub

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()
},
//