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 / ComboBox in Component ...
Power Apps
Unanswered

ComboBox in Component - Search items causes items to disappear

(0) ShareShare
ReportReport
Posted on by 139

Hello,

 

I am in the process of refactoring my application using components. I have come across something that appears to be a bug with components but I cannot find anyone else reporting this behavior.

 

Set up:

 

I have a component containing 2 elements, a combo box and a label:

Reigningfear_0-1661981797244.png

 

I have placed the component on a screen and enabled searching. The act of typing or selecting an item causes the combo box to revert to the non-searching state. below is a demonstration of this using blank rows:

 

comboboxComponentExamplebehavior.gif

 

Any behavior applied to the drop down makes it behave like the example. I've tried the following:

  • using a collection directly within the dropdown.
  • using a collection at the component level with an input called 'dropdownitems' and using Parent.dropdownitems.
  • I've tried changing multi-select and search to true and false. I've also used component inputs.
  • I've tried this with collections and directly from data sources.
  • I've tried with and without default values.

Observations:

  • when searching, each keystroke seems to cause this unless you type very quickly. It seems like any change to the items using the search makes it disappear.
  • When you search, the search text and results are present when you click the combo box.
  • Using the same data source with a combo box OUTSIDE a component works perfectly as expected.

 

Anyone have any ideas why this is happening? this effectively makes combobox searching useless which is unfortunate because this is one of the controls that would be best suited to be a component. 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Reigningfear 

    Not seeing this issue!  Combobox in components seems normal. 

     

    I would not recommend ever using a collection with the component internally.  All your items should come from a property on the component.

     

    To validate what you are trying to show, I performed the following steps:

    1. Create Component
    2. Create Input Property called Items that is a table property
    3. Set the Schema of Items to ["A"]  (a table with records with a single Value column)
    4. Added a Combobox
    5. Set Items property to Parent.Items
    6. Turned on Searching

     

    Then, added component to app screen.

    - Set the Items property to:  ForAll(ComboBoxSample, Value1)

    - Ran app...no issues searching as you described.  

     

    Where in the above steps should I change to observe the behavior you are describing?

     

  • Reigningfear Profile Picture
    139 on at

    @RandyHayes , appreciate the response. 

     

    When you said you didn't see the same thing, I looked at some inconspicuous properties. I saw that I was using a component property for my displaymode within the dropdown. The property was a text property that wasn't directly given a displaymode:

     

    Reigningfear_0-1661986888281.png

     

    Reigningfear_1-1661986921653.png

     

    I guess I didn't think of this because the behavior defaulted to 'edit' other places in the app. this property also doesn't have 'OnReset' checked so it's weird that this affects anything at all. I guess it probably should throw an error if anything. 

     

    Well it looks like it's working now. thanks for taking the time to test this out. 

     

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard