cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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

Thank you so much!! That worked. 

View solution in original post

2 REPLIES 2
Community Support
Community Support

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

Thank you so much!! That worked. 

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (89,157)