1
0
Fork 0
mirror of synced 2024-10-03 02:27:06 +13:00

Treat automation step inputs of type number as string, and let server handle types

This commit is contained in:
Andrew Kingston 2020-09-23 12:30:38 +01:00
parent 26d5b13921
commit d473307b7f
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@
<RecordSelector bind:value={block.inputs[key]} {bindings} /> <RecordSelector bind:value={block.inputs[key]} {bindings} />
{:else if value.type === 'string' || value.type === 'number'} {:else if value.type === 'string' || value.type === 'number'}
<BindableInput <BindableInput
type={value.type} type="string"
thin thin
bind:value={block.inputs[key]} bind:value={block.inputs[key]}
{bindings} /> {bindings} />

View file

@ -44,7 +44,7 @@
thin thin
bind:value={value[field]} bind:value={value[field]}
label={field} label={field}
type={schema.type} type="string"
{bindings} /> {bindings} />
{/if} {/if}
</div> </div>