Browse Source

make email field bindable in automations

pull/4023/head
Martin McKeaveney 6 years ago
parent
commit
909ccac598
  1. 12
      packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte

12
packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte

@ -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}

Loading…
Cancel
Save