Merge pull request #643 from dod-ccpo/text-input-validation-fix
Trim extra whitespace on blur
This commit is contained in:
commit
505348ea59
@ -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()
|
||||
},
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user