Merge branch 'staging' into state-machine-error-handling

This commit is contained in:
tomdds
2020-02-13 13:30:35 -05:00
committed by GitHub

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()