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 in a Component
Power Apps
Unanswered

Combo Box in a Component

(0) ShareShare
ReportReport
Posted on by 158

Has anyone gotten a combo box to work in a component?  I have it shows the correct items, but I can't get .selected to work.

Categories:
I have the same question (0)
  • Connor55 Profile Picture
    158 on at
    To be more specific.. I have an import property named Items, which allows me to set the items of the Component on a screen. This works fine.

    What I'm not sure how to do is get the selected record from that component.

    I've created an export property named Selected, but I'm not sure what to do from there. I keep just seeing the sample fields.
  • yuxi666 Profile Picture
    Microsoft Employee on at

    Hi  @Connor55 ,

     

    Please reference this create-component ,you just need to change the Gallery to ComboBox and then set the output of the Component as :ComboBox.Selected as the next screenshot shows.(ComboBox2 is the ComboBox's name in my test)

     

    20200210CombBoxComponent.PNG

     

    Best Regards.

    yuxi

     

  • Connor55 Profile Picture
    158 on at

    @yuxi666  Thanks for the response!

     

    I'm following that so far.  My issue it looks like, is actually the items.  I need to be able to access all of the fields in the selected record.  It looks like here, I'm only able to select one text field - right now it's "showname".

     

    Is there a way to set the items to all of the default items?

    Screen Shot 2020-02-10 at 10.14.25 AM.png

  • Connor55 Profile Picture
    158 on at

    I think the items property in the component needs to tell it to pull all the default fields.  I'm just not sure how to do that.  I've tried Defaults, but it gives me an error.  

    Screen Shot 2020-02-10 at 10.21.12 AM.png

  • ffmfp_staff Profile Picture
    20 on at

    Hi @Connor55 ,

     

    Sorry to bring up an old post, but did you manage to get the selected output return from the component? I am trying the same method as you.

     

    My selected output return an empty table/record. I already try setting the output using both table and record.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 600

#2
WarrenBelz Profile Picture

WarrenBelz 478 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard