Field Details
SQL-friendly Name
Human-friendly Label
Present As
{#each all_presentation_tags as presentation_tag}
{presentation_tag}
{/each}
{#if presentation?.t === "Dropdown"}
{#each presentation.c.options as option, i}
{#each COLORS as color}
{color}
{/each}
{ if (presentation?.t !== "Dropdown") { console.warn( "remove dropdown option onclick() preconditions not met", ); return; } presentation.c.options = presentation.c.options.filter( (_, j) => j !== i, ); }} type="button" >
{/each}
{ if (presentation?.t !== "Dropdown") { console.warn( "remove dropdown option onclick() preconditions not met", ); return; } presentation.c.options = [ ...presentation.c.options, { color: COLORS[0], value: "" }, ]; }} type="button" > Add option
{:else if presentation?.t === "Text"}
Input Mode
{#each all_text_input_modes as input_mode}
{input_mode}
{/each}
{/if}