I am attempting to create a CheckBox gallery in a form where the Checkboxes are generated from a Distinct result. I am having issues with the collections.
This is what I have currently, which is a sad alternative.
This is the Gallery (in the Commodity card) Items:
Sort(Distinct(Filter(ServiceRequestTypes, Title = drpContainerType.Selected.Result),Commodity),Result)
This is the checkbox in the gallery located in the Commodity card On Select:
Collect(colDockServices, ThisItem.Result)
This is the checkbox in the Commodity gallery OnUncheck:
Remove(colDockServices,{Value:chkboxCommodity.Text})
The Update field on the Commodity card is based off a hidden Text lablel that Concats the choices.
Default on Commodity card is ThisItem.Commodity.
It's a mess I know, please HELP😄