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 / Combo box with default...
Power Apps
Answered

Combo box with default value

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey,

I use combo box and I disabled the option "select multiple" and I enabled the option "allow searching".

I insert a default item to the "default selected item":

Racheli_1-1608022585859.jpeg

 

I would like that whenever someone clicks on the X button the "Default" item will be marked as the default item.

In other words, I want the combo box will always be populated.

 

Thanks in advanced.

 

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,033 Most Valuable Professional on at

    Hi @Anonymous ,

    Put this on the OnChange of the Combo Box

    If(
     IsBlank(Self.Selected.xxxx),
     Reset(Self)
    )

    Where xxxx will depend on the Items property of the combo box.

    When you type Self.Selected. (note second dot), valid values will come up underneath. For some guidance of what they mean: -

    • If your Items are Choices(ListName.FieldName) - a Choices or Lookup field), the reference will be Self.Selected.Value
    • If they are Distinct( . . .  .), it will be Self.Selected.Result
    • The other option is when they are based on a field value in a list (other than Distinct), then it will be Self.Selected.FieldName (actual field name)

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey,

    We are getting this error when clicking the X button

    Racheli_0-1608029560144.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard