1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00

Respect initial selection on FancyCheckboxGroup[

This commit is contained in:
Adria Navarro 2023-06-30 11:43:24 +01:00
parent 8f99dcf579
commit fea218a62f

View file

@ -8,7 +8,7 @@
export let showSelectAll = true
export let selectAllText = "Select all"
let selectedBooleans = reset()
let selectedBooleans = options.map(x => selected.indexOf(x) > -1)
const dispatch = createEventDispatcher()
$: updateSelected(selectedBooleans)