Closed keehun closed 1 year ago
When setting an initial selectedIds within onMount() for a MultiSelect, the "clear" button does not work until the MultiSelect is "interacted with" in some way (show the items, type something into the box, etc).
selectedIds
onMount()
MultiSelect
Here is a repro: https://svelte.dev/repl/63e6f961f6b1483fab1eac28da08c011?version=4.2.2
I will submit a PR to fix this.
When setting an initial
selectedIds
withinonMount()
for aMultiSelect
, the "clear" button does not work until the MultiSelect is "interacted with" in some way (show the items, type something into the box, etc).Here is a repro: https://svelte.dev/repl/63e6f961f6b1483fab1eac28da08c011?version=4.2.2
I will submit a PR to fix this.