Merge branch 'state-machine-error-handling' of https://github.com/dod-ccpo/atst into state-machine-error-handling

This commit is contained in:
Philip Kalinsky 2020-02-13 14:01:14 -05:00
commit b256214f95

View File

@ -55,6 +55,10 @@ export default {
return this.step === this.steps - 1
},
handleSubmit: function(e) {
if (this._onLastPage) {
this.submitted = true
}
if (!this.validateFields() || !this._onLastPage()) {
e.preventDefault()
this.next()