@betterstart/cli 0.1.54 → 0.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2720,7 +2720,9 @@ ${p7.fieldArraySetup}${p7.watchSetup}
|
|
|
2720
2720
|
STEPS[currentStep].fields as (keyof FormValues)[]
|
|
2721
2721
|
)
|
|
2722
2722
|
if (isValid) {
|
|
2723
|
-
|
|
2723
|
+
const next = currentStep + 1
|
|
2724
|
+
form.clearErrors(STEPS[next].fields as (keyof FormValues)[])
|
|
2725
|
+
setCurrentStep(next)
|
|
2724
2726
|
}
|
|
2725
2727
|
}
|
|
2726
2728
|
|