diff --git a/packages/client/src/components/app/blocks/MultiStepFormblock.svelte b/packages/client/src/components/app/blocks/MultiStepFormblock.svelte index 62a1ce737b..d25b399adb 100644 --- a/packages/client/src/components/app/blocks/MultiStepFormblock.svelte +++ b/packages/client/src/components/app/blocks/MultiStepFormblock.svelte @@ -1,5 +1,6 @@ -{#key $currentStep} - - - {#each enrichedSteps as step, stepIdx} + + + {#each enrichedSteps as step, stepIdx (step._stepId)} + - - - - - - - - {#each step.fields as field, fieldIdx (`${field.field || field.name}_${stepIdx}_${fieldIdx}`)} - {#if getComponentForField(field)} - - {/if} - {/each} - - - + + + + + + + {#each step.fields as field, fieldIdx (`${field.field || field.name}_${fieldIdx}`)} + {#if getComponentForField(field)} + + {/if} + {/each} + + + - {/each} - - -{/key} + + {/each} + +