From 2864d705d59bfabf991ad15d93f49820b8084e20 Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Wed, 20 Aug 2025 12:43:51 -0700 Subject: [PATCH] combobox: fix picker each key key was formed by `i + option.value`, which if the option value was in the form of a number would end up as addition instead of concatenation. replaced this key with just `option.value`, as this field is required. --- src/lib/Combobox.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Combobox.svelte b/src/lib/Combobox.svelte index 4c2f9ee..9d1c1d5 100644 --- a/src/lib/Combobox.svelte +++ b/src/lib/Combobox.svelte @@ -396,7 +396,7 @@ }} tabindex="0" > - {#each filteredItems as item, i (i + item.value)} + {#each filteredItems as item, i (item.value)}