mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(multi-select): reset selectedIds
when clearing selection (#1832)
Fixes #1831
This commit is contained in:
parent
7eef53d57c
commit
e3ab471018
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