cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
markohei
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
Super User
Super User

Re: Checkbox does not update to unchecked when item removed from collection

@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.

View solution in original post

1 REPLY 1
Super User
Super User

Re: Checkbox does not update to unchecked when item removed from collection

@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.

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,822)