Skip to content

Commit

Permalink
fix: first dropdown option should not be preselected when filter is c…
Browse files Browse the repository at this point in the history
…leared
  • Loading branch information
ben-basten committed Mar 20, 2024
1 parent 736c28a commit e040cef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/lib/components/shared-components/combobox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
const onClear = () => {
input?.focus();
selectedIndex = undefined;
selectedOption = undefined;
searchQuery = '';
dispatch('select', selectedOption);
Expand Down

0 comments on commit e040cef

Please sign in to comment.