web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

undefined

(0) ShareShare
ReportReport
Posted on by 14

Hello,

   I am trying to work with checkboxes in gallery view and I am facing a bug.I am trying to update the table if the user checks or unchecks the checkbox.My screen looks like:

Kaushals2610_0-1611919709384.png

My commands on checkboxes are:

oncheck:Patch(MyActTasks,Gallery2.Selected,{is_completed:true})
onuncheck:Patch(MyActTasks,Gallery2.Selected,{is_completed:false})

default:false

So when I try to check the checkbox for the first time it appears and disappears but the patch works fine.it updates the value there but on screen it remains unchecked.This is one time problem after that the checkboxes works fine.Is something I can do differently so I can be able to elude this.

 

Kaushal

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    I believe the Gallery reset after Patching. 

    Try this:

    oncheck:Patch(MyActTasks,Gallery2.Selected,{is_completed:true});UpdateContext({ResetCheck:true})

     

    Then put the ResetCheck in the reset of the Checkbox

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Kaushals2610 Profile Picture
    14 on at

    I tried this but now the disappearance happens everytime when I check the checkbox and second time it works fine and third time again it disappears.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard