Skip to content

Commit

Permalink
RM-3941 - allow multiselect to watch observable
Browse files Browse the repository at this point in the history
  • Loading branch information
chuankhai committed Apr 18, 2024
1 parent 037f015 commit 74eed1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/select/src/MultipleSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@
type Item = { label: string; value: string; disabled?: boolean };
const dict = new Map();
let dict = new Map();
$: {
options.forEach((opt) => {
dict.set(opt.value, opt);
});
filteredOptions = options;
}
let input: HTMLInputElement;
let focused = false;
let clientHeight = 0;
Expand Down

0 comments on commit 74eed1e

Please sign in to comment.