This commit is contained in:
Pieter Vander Vennet 2024-05-21 00:37:52 +02:00
parent f43bd696f5
commit 5fe2e9b948

View file

@ -50,13 +50,13 @@
<div>
{#each parts as part, i}
{#if part.subs}
{#if part["subs"]}
<!-- This is a field! -->
<span class="mx-1">
<ValidatedInput value={fieldValues[part.subs]} type={fieldTypes[part.subs]} />
<ValidatedInput value={fieldValues[part["subs"]]} type={fieldTypes[part["subs"]]} />
</span>
{:else}
{part.message}
{@html part["message"]}
{/if}
{/each}
</div>