Treat automation step inputs of type number as string, and let server handle types
This commit is contained in:
parent
26d5b13921
commit
d473307b7f
|
@ -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} />
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue