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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Reset Gallery dropdown...
Power Apps
Answered

Reset Gallery dropdown menu's with onVisible

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a gallery with multiple dropdown menu's.

I'm having an issue when I'm moving between screens the defaults of the dropdown menu's aren't being reset. 

Is there a way to "force" all of the items inside the gallery to reset to their default in onVisible?

For example, I created a button in the gallery:

 

Reset(Slot1); Reset(Slot2); Reset(Slot3); Reset(Slot4)

 

But I don't want to force the user to click that button for every record in the gallery. 

 

Screen Shot 2020-07-23 at 4.17.17 PM.png

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    Onvisible of the screen put;

    Set(varDropD, Blank ())

     

    Then for each dropdown Default put;

    varDropD

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @morall 
    Put this code in the OnSelect property of a 'Reset' button.

    Set(varResetEverything, true); Set(varResetEverything, false);

     

    Then put this variable inside the Reset property of each dropdown.

    varResetEverything

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up." 

  • Moises_Tatis Profile Picture
    3 on at

    Thanks so much!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard