From dccb05d509ff3a2c7ed2ada2340b5f1f182fbc89 Mon Sep 17 00:00:00 2001 From: Conor_Mack Date: Tue, 2 Jun 2020 15:26:03 +0100 Subject: [PATCH] Changing value to val in handleChange --- packages/builder/src/components/common/Inputs/InputGroup.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/common/Inputs/InputGroup.svelte b/packages/builder/src/components/common/Inputs/InputGroup.svelte index 36ebeb7d08..41f184975c 100644 --- a/packages/builder/src/components/common/Inputs/InputGroup.svelte +++ b/packages/builder/src/components/common/Inputs/InputGroup.svelte @@ -10,7 +10,7 @@ export let onChange = () => {} function handleChange(val, idx) { - value.splice(idx, 1, val !== "auto" ? value + suffix : val) + value.splice(idx, 1, val !== "auto" ? val + suffix : val) value = value let _value = value.map(v => (!v.endsWith(suffix) && v !== "auto" ? v + suffix : v))