Hi,
I have gallery with a collection as a datasource. The gallery has checkbox which is based on collection column value.
I have following logic on Checkbox Default data, OnCheck and OnUncheck actions -
Default:
If(ThisItem.Column1 = "Complete",true,false)
OnCheck:
Patch(colTest,ThisItem,{Column1: "No"})
OnUncheck:
Patch(colTest,ThisItem,{Column1: "Yes"})
The behavior from this is unexpected. When I uncheck the checkbox, the value is updated in the collection, and checkbox unchecks, however when the checkbox is checked again, the value in the collection is updated, the Checkbox.Value is true but the check mark is not visible on the checkbox until I click the checkbox again.
Mostly likely I am not using this correctly, any suggestion regarding this would be very helpful.
Thanks