Merge pull request #631 from dod-ccpo/portfolio-name-validation-fix-2

Add validation for textInput on blur
This commit is contained in:
leigh-mil
2019-02-12 17:36:06 -05:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -84,6 +84,10 @@ export default {
}
},
onBlur: function(e) {
this._checkIfValid({ value: e.target.value, invalidate: true })
},
//
_checkIfValid: function({ value, invalidate = false }) {
// Validate the value