cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BOBOMAN
Level: Powered On

Reset select item by click button

Hello 

i am confused about how to use button on select function to clear selected items shows on the form.

Any ideals? 

thank you

Screenshot (21).png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Reset select item by click button

Hi @BOBOMAN ,

 

By clear selected items, did you mean to delete the current item shown in the form control? If so, then set below formula in OnSelect property of the button:

Remove(List, BrowseGallery1.Selected); If (IsEmpty(Errors(List, BrowseGallery1.Selected)), Back())

In this formula, the "BrowseGallery1.Selected" part should be the same as what you put in the Item property of the Form control. That is to say, you need to replace "BrowseGallery1.Selected" part with the formula you have in the Item property of the Form control.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: Reset select item by click button

Hi @BOBOMAN ,

 

By clear selected items, did you mean to delete the current item shown in the form control? If so, then set below formula in OnSelect property of the button:

Remove(List, BrowseGallery1.Selected); If (IsEmpty(Errors(List, BrowseGallery1.Selected)), Back())

In this formula, the "BrowseGallery1.Selected" part should be the same as what you put in the Item property of the Form control. That is to say, you need to replace "BrowseGallery1.Selected" part with the formula you have in the Item property of the Form control.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BOBOMAN
Level: Powered On

Re: Reset select item by click button

Thanks and let me trySmiley Very Happy

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 149 members 4,281 guests
Recent signins:
Please welcome our newest community members: