cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Reset Multiple DropDown Menu's after patch

Hi,

 

I have multiple Drop Down menus over a number of different screens I would like these to reset to the default value after I patch my results so that when the end user then goes to create another record the previous dropdown values are not selected

 

Does anyone know how I can acheive this?

 

Thanks

 

3 REPLIES 3
Highlighted
Community Champion
Community Champion

Re: Reset Multiple DropDown Menu's after patch

Hi

 

You may try this:

- Set the DropDown.Reset = rst (or any variable name)

- For the screen that contains the Dropdown, set the Screen.OnVisible = UpdateContext ({rst: false}); UpdateContext ({rst: true}).

 

This is to enable that when the screen is navigated from another screen, it will set the Reset to false and then true and this will clear the previous selection.

 

Hope this helps.

 

hpkeong
Highlighted
Helper I
Helper I

Re: Reset Multiple DropDown Menu's after patch

How do you set the DropDown.Reset=variable name? Reset only expects true or false value.

Highlighted
Super User
Super User

Re: Reset Multiple DropDown Menu's after patch

Hello,

You can use a boolean variable.
But now you can also use the Reset() function.  
Reset() function was added in Powerapps, after hpkeong wrote this post.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,461)