cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chaitanyaChavan
Level: Powered On

Toggle Control

I have two toggle switch in a gallery.

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?

1 REPLY 1
Super User
Super User

Re: Toggle Control

Hi @chaitanyaChavan,

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?

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 51 members 4,855 guests
Please welcome our newest community members: