cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JackCuba
Frequent Visitor

Toggle misbehaving :(

Hello,

I have an app that uses a toggle to modify a specific field in a record in a SharePoint list via Patch(). The toggle updates the record (and navigates to the next screen), but when I check back, sometimes, the record was not really updated on SharePoint. Any idea why???

Thank you so much for you help on this!

1 ACCEPTED SOLUTION

Accepted Solutions
JackCuba
Frequent Visitor

Updating this issue: FYI, there seems to be a bug with the toggle when used with the Patch function. It does not behave as expected all the time. Multiple programmers in my teams have reported the same problem. I have replaced the toggle with a button (keeping the same code/Patch) and it works just fine. Hopefully Microsoft will fix this soon.

 

Thank you all for your help on this!

View solution in original post

2 REPLIES 2
mdevaney
Super User
Super User

@JackCuba 

Hello there!  Can you please share the code you are using!

JackCuba
Frequent Visitor

Updating this issue: FYI, there seems to be a bug with the toggle when used with the Patch function. It does not behave as expected all the time. Multiple programmers in my teams have reported the same problem. I have replaced the toggle with a button (keeping the same code/Patch) and it works just fine. Hopefully Microsoft will fix this soon.

 

Thank you all for your help on this!

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,042)