From e44c461a97c38c8e9adbe06f6ecdb4cf488c1437 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 9 Nov 2021 18:07:21 +0000 Subject: [PATCH] Fixing issue with automation JS scripting not functioning, due to an object being passed in as code parameter. --- .../automation/SetupPanel/AutomationBlockSetup.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index a3a2870a5e..874a0e68eb 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -234,7 +234,8 @@ { - onChange(e, key) + // need to pass without the value inside + onChange({ detail: e.detail.value }, key) inputData[key] = e.detail.value }} value={inputData[key]}