mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
#1831: Reset selectedIds upon clearing of ListBoxSelection
This commit is contained in:
parent
7eef53d57c
commit
a5100b9436
1 changed files with 1 additions and 0 deletions
|
@ -393,6 +393,7 @@
|
|||
selectionCount="{checked.length}"
|
||||
on:clear
|
||||
on:clear="{() => {
|
||||
selectedIds = [];
|
||||
sortedItems = sortedItems.map((item) => ({
|
||||
...item,
|
||||
checked: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue