Trigger a redraw of the form step contents when the step index change
This commit is contained in:
parent
b41f83dc9d
commit
c039b0421d
|
@ -122,6 +122,7 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
{#key $currentStep}
|
||||
<FormBlockWrapper {actionType} {dataSource} {rowId} {noRowsMessage}>
|
||||
<BlockComponent
|
||||
type="form"
|
||||
|
@ -139,6 +140,7 @@
|
|||
},
|
||||
}}
|
||||
>
|
||||
{`Current step internal ${$currentStep + ""}`}
|
||||
{#each enrichedSteps as step, stepIdx}
|
||||
<BlockComponent
|
||||
type="formstep"
|
||||
|
@ -191,6 +193,7 @@
|
|||
{/each}
|
||||
</BlockComponent>
|
||||
</FormBlockWrapper>
|
||||
{/key}
|
||||
|
||||
<style>
|
||||
.fields {
|
||||
|
|
Loading…
Reference in New Issue