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 to capture the non...
Power Apps
Answered

How to capture the non selected field of a ComboBox?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey guys,

Been trying it a long time to discover how to get the non selected value (search field) of the ComboBox.

How to achieve to get it?

 

The ComboBox is enabled for searching but disabled for multiple selection.

If I press a button I don't like to trigger the event (onSelect) whether I haven't selected an item from the ComboBox yet.

If the ComboBox just shows the searching field, the button should not be triggered.

 

As you can see below, there's UserPrincipleName selected but how to get the value of the non selected ComboBox?

 

ComboBox1.Selected.UserPrincipalName

 

 

Appreciate your support! Thanks so much!

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    You can obtain the text from the Search field like this:

    ComboBox1.SearchText

     

    ---
    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."

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey guys,

    Very simple. Here's the solution:

     

    If(IsBlank(ComboBox1.Selected), DisplayMode.Disabled)

     

    @mdevaney

    ComboBox1.SearchText

    It's ComboBox1.Selected.

     

    I just wanted to catch whether there's a record or not in the ComboBox. If I enable searching, the ComboBox will tell me that there's no record at the initial configuration. If I select an item, then ComboBox1.Selected will tell me there is. This is what I need.

     

    Thanks so much and have a nice day!

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 
    Glad you were able to find a solution.  Best of luck building your app.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard