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