From 459f97baa5a730b9e28c981cfebad6b1e48547f6 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))