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} />
{:else if value.type === 'string' || value.type === 'number'}
<BindableInput
type={value.type}
type="string"
thin
bind:value={block.inputs[key]}
{bindings} />

View File

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