Merge pull request #3302 from Budibase/fix/3296

Fix for automation JS scripting block
This commit is contained in:
Michael Drury 2021-11-10 09:42:03 +00:00 committed by GitHub
commit 7bbe80bf35
1 changed files with 2 additions and 1 deletions

View File

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