cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Checkbox does not update to unchecked when item removed from collection

I have Screen1 where Gallery1. Gallery1 contains items with checkboxes. When user checks item it will be added to Collection. Screen2 shows Collected items in Gallery2. User may remove items (accidently selected in Screen1 etc.).

Items are perfectly removed from Collection. However, when user returns to Screen1 those previously removed items are still in Checked state?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

@markohei 

This is really going to depend on your logic for checking and unchecking as well as how you are updating your supporting collection.

In general, your second gallery should be based off of the first one and you should be changing items from that gallery only.

I've attached a sample app that does this exact action.  Take a look and see the formulas used.  There are really on a couple of small ones.

 

I hope that is helpful and clear.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

1 REPLY 1
Highlighted
Super User III
Super User III

@markohei 

This is really going to depend on your logic for checking and unchecking as well as how you are updating your supporting collection.

In general, your second gallery should be based off of the first one and you should be changing items from that gallery only.

I've attached a sample app that does this exact action.  Take a look and see the formulas used.  There are really on a couple of small ones.

 

I hope that is helpful and clear.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,888)