From e94f70a940cb137e8c5d906e15aee779ca585ac7 Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 4 Jan 2024 12:12:51 +0000 Subject: [PATCH] Added key for fields to ensure they are re-rendering correctly when updating the field config --- .../src/components/app/blocks/MultiStepFormblock.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/components/app/blocks/MultiStepFormblock.svelte b/packages/client/src/components/app/blocks/MultiStepFormblock.svelte index ce4804047d..0573ba15b5 100644 --- a/packages/client/src/components/app/blocks/MultiStepFormblock.svelte +++ b/packages/client/src/components/app/blocks/MultiStepFormblock.svelte @@ -138,10 +138,10 @@ }, }} > - {#each enrichedSteps as step, idx} + {#each enrichedSteps as step, stepIdx} - {#each step.fields as field, fieldIdx} + {#each step.fields as field, fieldIdx (`${field.field || field.name}_${stepIdx}_${fieldIdx}`)} {#if getComponentForField(field)}