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 / Limit combobox to item...
Power Apps
Unanswered

Limit combobox to items only

(0) ShareShare
ReportReport
Posted on by 204

I would like to use the combo-box as a search and select for existing items . Currently I can type whatever in the combobox, but would like the text

I've tried a simple Reset(ComboBox) in the OnChange as a start, but it doesn't trigger when I enter anything in the field, only when I select an item in the list with the arrow.

 

I'd like something like the following:

If Not(ComboBox.Text in ComboBox.Items);Reset(ComboBox);

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @agneum 

    Unfortunately, you request is not possible because OnChange only triggers when something is selected.  Selected values can be found the the Selected.Value property.  Any "unselected" text found in the SearchText property.

     

    My suggested workaround would be to put this code in the OnSelect property of the field that comes right after the ComboBox instead.  It will basically do what you want.

     

    If(IsBlank(DataCardValue4.Selected.Value)=true,Reset(DataCardValue4))

     

     

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

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    @agneumThe text you entered in Combo box is a search text, it doesn't change the combo box selection, so the OnChange property won't work.

    What's more, we are not able to configure the SearchText property, so I am afraid your requirement cannot be done in PowerApps.

    Sik

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 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard