We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01a12d2 + 1eca2e9 commit aa8d9f6Copy full SHA for aa8d9f6
1 file changed
src/lib/layout/wizard.svelte
@@ -74,8 +74,13 @@
74
75
wizard.setInterceptor(null);
76
if (isLastStep) {
77
+ $wizard.nextDisabled = true;
78
trackEvent('wizard_finish');
79
dispatch('finish');
80
+ //Reactivate button in case there are errors
81
+ setTimeout(() => {
82
+ $wizard.nextDisabled = false;
83
+ }, 2000);
84
} else {
85
trackEvent('wizard_next');
86
$wizard.step++;
0 commit comments