From 8cdfa6786818c21588cf133271b47f9703d6d56a Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 26 Aug 2024 17:23:41 +0200 Subject: [PATCH] Fix dropdown --- src/UI/Base/Dropdown.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Base/Dropdown.svelte b/src/UI/Base/Dropdown.svelte index 7b8f7e78e..3154b8fca 100644 --- a/src/UI/Base/Dropdown.svelte +++ b/src/UI/Base/Dropdown.svelte @@ -7,7 +7,7 @@ if (!htmlElement) { return } - const v = value.data + const v = "" + value.data for (let option of htmlElement.getElementsByTagName("option")) { if (option.value === v) { option.selected = true