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

Notifications

Announcements

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,989 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard