Fix endless loop when nesting 2 form steps inside each other
This commit is contained in:
parent
9cb1ce6862
commit
97fdcc0209
|
@ -19,8 +19,7 @@
|
||||||
if (
|
if (
|
||||||
formContext &&
|
formContext &&
|
||||||
$builderStore.inBuilder &&
|
$builderStore.inBuilder &&
|
||||||
$builderStore.selectedComponentPath?.includes($component.id) &&
|
$builderStore.selectedComponentPath?.includes($component.id)
|
||||||
$formState?.currentStep !== step
|
|
||||||
) {
|
) {
|
||||||
formContext.formApi.setStep(step)
|
formContext.formApi.setStep(step)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue