cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Combo Box in a Component

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.

4 REPLIES 4
Highlighted
Resolver I
Resolver I

Re: Combo Box in a Component

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.
Highlighted
Microsoft
Microsoft

Re: Combo Box in a Component

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

 

Highlighted
Resolver I
Resolver I

Re: Combo Box in a Component

@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

Highlighted
Resolver I
Resolver I

Re: Combo Box in a Component

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

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,024)