How do I tell which CardCollection items are checked

I would like to use the Checkbox Action type in a CardCollection to select items to delete.

But I can't see a way to determine which items are checked. There is a selectedItem property, but it is not populated when I check items.

suffixValueByIndex. Not the best name considering it's on the left, but it's what we have...

1 Like

Yeah, not intuitive, but it works. Here is my button's hidden property so the delete button displays if any are checked.

{{!cardCollection2.suffixValueByIndex.some(value => value === true)}}

1 Like