In the application I am building, I have a combo box that I am using the selection from to filter the gallery. If I select every available option in the combo box it filters correctly. I wanted to add a "Select All" ability as the combo box list has 36 items to accomplish this I added a check box that has the code similar to below and then set my combo box DefaultSelectedItems to the variable I am using that I called SelectedItems. My issue is when I select the check box it correctly selects all the items in the combo box but it doesn't engage the filter on the gallery.
If(
Checkbox1.Value,
Set(
SelectedItems,
[
"Item 1",
"Item 2",
"Item 3",
]
),
Set(
SelectedItems,
[]
)
)