Merge pull request #1410 from dod-ccpo/fix-double-submit

Prevent double submitting in multi-step forms
This commit is contained in:
leigh-mil 2020-02-11 10:56:58 -05:00 committed by GitHub
commit 8ee7cdc1cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,8 +34,10 @@ export default {
methods: {
next: function() {
this.submitted = true
if (this.validateFields()) {
this.step += 1
this.submitted = false
}
},
previous: function() {