Merge pull request #1410 from dod-ccpo/fix-double-submit
Prevent double submitting in multi-step forms
This commit is contained in:
commit
8ee7cdc1cb
@ -34,8 +34,10 @@ export default {
|
||||
|
||||
methods: {
|
||||
next: function() {
|
||||
this.submitted = true
|
||||
if (this.validateFields()) {
|
||||
this.step += 1
|
||||
this.submitted = false
|
||||
}
|
||||
},
|
||||
previous: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user