web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Resetting a drop down ...
Power Apps
Unanswered

Resetting a drop down list when returning to the page

(0) ShareShare
ReportReport
Posted on by

My initial screen is a list screen.  One of the fields is a drop down list.  This drop down list is where the user will select which page to go to.  It starts with Select (which takes you nowhere).

 

When the user picks an option and hits save on that screen, it returns to the initial screen and the drop down list resets to have Select showing.  If the user hits cancel on that screen, it does NOT reset the drop down list to Select.

 

Here is the OnSelect for the Save.

// Shows overlay on save
UpdateContext({OverlayVisible: true});

If(SubmitForm(EditSetupNotesPage),
Refresh(CustomerMaster_v3);
Navigate(CustomerList, ScreenTransition.Fade),

// hides overlay on error
UpdateContext({OverlayVisible: false}))

 

Here's the OnSelect for the Cancel:

Refresh(CustomerMaster_v3); Back(ScreenTransition.Fade)

 

What do I need to do to get the dropdown to reset?  I am attaching a screenshot that shows you how it returns back when I hit cancel.

 

 
Categories:
I have the same question (0)
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Can you add Reset(Dropdown) to the OnSelect of your Back or Cancel button?

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Also, do you have any values in the OnSuccess of EditSetupNotesPage form?

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com
  • Community Power Platform Member Profile Picture
    on at

    That didn't work.

  • Community Power Platform Member Profile Picture
    on at

    OnSuccess = false

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Is the dropdown a control within your gallery?

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com
  • Community Power Platform Member Profile Picture
    on at

    I'm self taught...  I'm not sure what you mean by within my Gallery.  I kinda took over this app from a consultant we had that originally built it.

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    No problem at all, I am glad you are picking it up!

    Can you try Reset(GalleryName) in the OnSelect of your Cancel button? In this and the previous Reset that I had suggested replace the control names within the Reset function with your control names.

    Let me know if this helps.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com
  • Community Power Platform Member Profile Picture
    on at

    I'm dumb, lol.   What's the Gallery name?

    The first screen is Customer list, and CustomerListPage.   That's where the Dropdown is.

     

    This is what I have in the OnSelect for the Cancel button right now.  It still keeps what I had before.

     

    Refresh(CustomerMaster_v3); Reset(clScreenSelectDDL); Navigate(CustomerList, Fade)

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Actually, I might be one 🙂

    Can you do one thing? Can you share the left side pane that shows the list of controls? That will help me immensely.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    https://thepoweraddict.com
  • Community Power Platform Member Profile Picture
    on at

    image.png

    image.png

    image.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard