make email field bindable in automations

This commit is contained in:
Martin McKeaveney 2021-02-03 13:50:19 +00:00
parent 184f30771c
commit 68aa7bb5f0
1 changed files with 8 additions and 4 deletions

View File

@ -62,9 +62,13 @@
{/each}
</Select>
{:else if value.customType === 'password'}
<Input type="password" extraThin bind:value={block.inputs[key]} />
<Input type="password" extraThin bind:value={block.inputs[key]}/>
{:else if value.customType === 'email'}
<Input type="email" extraThin bind:value={block.inputs[key]} />
<BindableInput
type={"email"}
extraThin
bind:value={block.inputs[key]}
{bindings} />
{:else if value.customType === 'table'}
<TableSelector bind:value={block.inputs[key]} />
{:else if value.customType === 'row'}
@ -75,10 +79,10 @@
<SchemaSetup bind:value={block.inputs[key]} />
{:else if value.type === 'string' || value.type === 'number'}
<BindableInput
type="string"
type={value.customType}
extraThin
bind:value={block.inputs[key]}
{bindings} />
{bindings} />
{/if}
</div>
{/each}