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

Dropdown not resetting on navigation

I'm having a problem with my dropdown not refreshing when users navigate to the page. It was working and now it's not. When users make a selection in the drop down and then leave the page, that same information remains if they go back instead of resetting to "-" 

 

I have the following:

 

MAIN SCREEN

OnSelect = Navigate(OrgScreen); ResetForm(form_OrgInfo); Reset(OrgDropDown);

 

 

OrgScreen

Drop Down Properties:

     Default = If(!IsBlank(varSelectedOrg), varSelectedOrg.Organization, "-")

     Items = Sort(SP1,Organization)

     OnSelect = Set(a,OrgDropDown.Selected)

 

Do you know why my drop down is not resetting?

 

Thanks so much!!

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Dropdown not resetting on navigation

Hi @ttaylor

Did you reset the varSelectedOrg's value?

Based on your description, the drop down's default will become "-" only if the varSelectedOrg is blank.

So if you want to reset the drop down to "-", please do not forget to change this variable value.

Try this formula:

Navigate(OrgScreen); ResetForm(form_OrgInfo); Sset(varSelectedOrg,Blank());Reset(OrgDropDown);

 

 

 

Best regards,

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

View solution in original post

Highlighted
Helper III
Helper III

Re: Dropdown not resetting on navigation

Thank you so much!! That worked. 

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Dropdown not resetting on navigation

Hi @ttaylor

Did you reset the varSelectedOrg's value?

Based on your description, the drop down's default will become "-" only if the varSelectedOrg is blank.

So if you want to reset the drop down to "-", please do not forget to change this variable value.

Try this formula:

Navigate(OrgScreen); ResetForm(form_OrgInfo); Sset(varSelectedOrg,Blank());Reset(OrgDropDown);

 

 

 

Best regards,

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

View solution in original post

Highlighted
Helper III
Helper III

Re: Dropdown not resetting on navigation

Thank you so much!! That worked. 

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

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

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

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!

Top Solution Authors
Top Kudoed Authors
Users online (8,226)