1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

Fixing issue with automation JS scripting not functioning, due to an object being passed in as code parameter.

This commit is contained in:
mike12345567 2021-11-09 18:07:21 +00:00
parent 951cfb5ba9
commit 014b277c55

View file

@ -234,7 +234,8 @@
<Editor
mode="javascript"
on:change={e => {
onChange(e, key)
// need to pass without the value inside
onChange({ detail: e.detail.value }, key)
inputData[key] = e.detail.value
}}
value={inputData[key]}