From 9c4ae58b7ecc7c67c6d604ba99c85eec51fddd97 Mon Sep 17 00:00:00 2001 From: Craig Howell Date: Thu, 5 Oct 2023 08:52:36 -0400 Subject: [PATCH] fix(Select): programatic setting of value bug --- src/lib/components/select/Select.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/select/Select.svelte b/src/lib/components/select/Select.svelte index 04a17f6..5f92b9a 100644 --- a/src/lib/components/select/Select.svelte +++ b/src/lib/components/select/Select.svelte @@ -30,6 +30,7 @@ ? value[optionValue] : ''; let selectedValue: Writable = writable(value); + $: selectedValue.set(value); let currentError: Writable = writable(error); $: currentError.set(error); let isMobile: Writable = writable(mobile);