Skip to content

Commit

Permalink
#1831: Reset selectedIds upon clearing of ListBoxSelection
Browse files Browse the repository at this point in the history
  • Loading branch information
keehun authored Oct 22, 2023
1 parent 7eef53d commit a5100b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MultiSelect/MultiSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@
selectionCount="{checked.length}"
on:clear
on:clear="{() => {
selectedIds = [];
sortedItems = sortedItems.map((item) => ({
...item,
checked: false,
Expand Down

0 comments on commit a5100b9

Please sign in to comment.