Browse Source
Merge pull request #3302 from Budibase/fix/3296
Fix for automation JS scripting block
gh-pages
Michael Drury
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte
|
|
@ -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]} |
|
|
|