diff --git a/packages/ui/src/components/form/CSelect.svelte b/packages/ui/src/components/form/CSelect.svelte index 821cb45..ef25cd4 100644 --- a/packages/ui/src/components/form/CSelect.svelte +++ b/packages/ui/src/components/form/CSelect.svelte @@ -141,7 +141,7 @@ } value = item.value focused = false - dropdown?.toggleManually(false) + if (dropdown) dropdown.toggleManually(false) } $: isItemActive = (/** @type {{ value: any; }} */ item) => {