lint
This commit is contained in:
parent
da25d8b6e5
commit
d877a22a04
|
@ -91,14 +91,17 @@
|
||||||
{:else if value.customType === 'code'}
|
{:else if value.customType === 'code'}
|
||||||
<CodeEditorModal>
|
<CodeEditorModal>
|
||||||
<pre>{JSON.stringify(bindings, null, 2)}</pre>
|
<pre>{JSON.stringify(bindings, null, 2)}</pre>
|
||||||
<Label small grey>Note: The result of the very last statement of this script will be returned and available as the "value" property in following automation blocks.</Label>
|
<Label small grey>
|
||||||
|
Note: The result of the very last statement of this script will be
|
||||||
|
returned and available as the "value" property in following automation
|
||||||
|
blocks.
|
||||||
|
</Label>
|
||||||
<Editor
|
<Editor
|
||||||
mode="javascript"
|
mode="javascript"
|
||||||
on:change={e => {
|
on:change={e => {
|
||||||
block.inputs[key] = e.detail.value
|
block.inputs[key] = e.detail.value
|
||||||
}}
|
}}
|
||||||
value={block.inputs[key]}
|
value={block.inputs[key]} />
|
||||||
/>
|
|
||||||
</CodeEditorModal>
|
</CodeEditorModal>
|
||||||
{:else if value.type === 'string' || value.type === 'number'}
|
{:else if value.type === 'string' || value.type === 'number'}
|
||||||
<DrawerBindableInput
|
<DrawerBindableInput
|
||||||
|
|
Loading…
Reference in New Issue