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
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
Highlighted
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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,445)