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

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 Team
Community Support Team

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

ttaylor
Level: Powered On

Re: Dropdown not resetting on navigation

Thank you so much!! That worked. 

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

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

ttaylor
Level: Powered On

Re: Dropdown not resetting on navigation

Thank you so much!! That worked. 

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,738)