cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
markohei
Level: Power Up

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,833)