diff --git a/packages/builder/src/components/common/Input.svelte b/packages/builder/src/components/common/Input.svelte index e39f4fe1a9..3ac872dc5a 100644 --- a/packages/builder/src/components/common/Input.svelte +++ b/packages/builder/src/components/common/Input.svelte @@ -14,7 +14,8 @@ function handleChange(val) { value = val - onChange(value) + let _value = value !== "auto" ? value + suffix : value + onChange(_value) } $: displayValue = suffix && value && value.endsWith(suffix) ? value.replace(new RegExp(`${suffix}$`), "") : (value || "")