The first one(CompletedTask) is used to filter the gallery as per criteria.
The second toggle is (TaskComplete) used to patch value back to SQL.
The problem I am having is when check the TaskComplete toggle, it patches true back to SQL and the record is gone from the list. When I check the CompletedTask Toggle, I see that record. However when I uncheck the CompletedTask Toggle to see the remaining task list, the top most record is automatically marked as taskcomple to true back to SQL.
Why is the first toggle even trying to control the second toggle and trying to patch when the list is just filtering as per the first toggle?
First, make sure both toggles are inside the gallery. Please post the location of the patch function in the toggle’s property, ie OnChange, OnCheck,etc. and finally the actual Patch() functions in order to troubleshoot your problem. Also, why do you have two toggles when you can have one do both functions?