Merge branch 'state-machine-error-handling' of https://github.com/dod-ccpo/atst into state-machine-error-handling
This commit is contained in:
commit
b256214f95
@ -55,6 +55,10 @@ export default {
|
|||||||
return this.step === this.steps - 1
|
return this.step === this.steps - 1
|
||||||
},
|
},
|
||||||
handleSubmit: function(e) {
|
handleSubmit: function(e) {
|
||||||
|
if (this._onLastPage) {
|
||||||
|
this.submitted = true
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.validateFields() || !this._onLastPage()) {
|
if (!this.validateFields() || !this._onLastPage()) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
this.next()
|
this.next()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user