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 / How do I reset a combo...
Power Apps
Answered

How do I reset a combo box when another combo box is selected?

(0) ShareShare
ReportReport
Posted on by 831 Moderator

I have this working fine with a new form. I use the OnChange to reset a proceeding combo box since the proceeding combo box is also dependent. I run into issues when I get to the screen where I populate an edit form with a gallery selection. That same code used to reset doesn't work. Does it have to do with me using DefaultSelectedItems? The combo box where the reset works uses Items. Maybe I am looking in the wrong place.

 

Combo Box 1

OnChange

Reset(CB_CampaignSourceReview)

 

Combo Box 2 (dependent)

DefaultSelectedItems

LookUp(Distinct('Campaign Sources', 'Campaign Source Name'), Value = Parent.Default)

 

Categories:
I have the same question (0)
  • futr_vision Profile Picture
    831 Moderator on at

    UPDATE: 

    It looks like when I submit the form the combo box is actually cleared as I do not see an entry in the database and when I select the item from the gallery the combo box is not populated with any values. This seems like a UI issue then? 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    HI @futr_vision,

    This is not a UI issue, the issue is the way you reset the ComboBox.

    The OnChange property fires once the ComboBox selected changes, on your side, it reset the selected item to the default mode, not clear the selected items from ComboBox.

     

    In another word, reset action is to reset the control back to the default situation, which depends on how you set the default value of the combobox.

     

    By the way, sometimes, Power Apps does not recognize the Parent.Default

     

  • futr_vision Profile Picture
    831 Moderator on at

    Sorry for the delay. Thanks for the info. That makes sense. Is there a way to blank out the combo box then? Perhaps by using the Blank() function?

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard