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 8b7f3a461f
commit e44c461a97
1 changed files with 2 additions and 1 deletions

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]}