cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jeanshak
Helper IV
Helper IV

Combo Box Control Change the Display fields????

How can i change on a Combo Box control Change the Display fields????

 

please see pictures 

I want for example change the field: Nr+town Ronnenberg against something else from the source-collection.

 

 

Unbenannt.pngUnbenannt2.png

Jens Rogge
1 ACCEPTED SOLUTION

Accepted Solutions
jeanshak
Helper IV
Helper IV

ComboBox1.SearchFields = ["MyFirstColumn", "MySecondColumn"]
ComboBox1.DisplayFields = ["MyFirstColumn", "MySecondColumn"]

Thats it !

 

Jens Rogge

View solution in original post

11 REPLIES 11
jeanshak
Helper IV
Helper IV

ComboBox1.SearchFields = ["MyFirstColumn", "MySecondColumn"]
ComboBox1.DisplayFields = ["MyFirstColumn", "MySecondColumn"]

Thats it !

 

Jens Rogge
Anonymous
Not applicable

I tried it and it didn't work.  Can you elaborate on this solution?

 

My combobox is based on a picklist. so the pick list correctly shows the right value but how do i get the combox to show the "Display name" field

Thank you!  Because of your example, I've learned to use the properties / formula bar for most work.

It use to work (My old Combobox still display the 2 fields) and even when i Copy-Paste them. But when i create one from scratch, it won't display multiple fields no matter what i do.

... begins to feel like Excel API. Function that use to work got unstable and irritants like that....

Copied.PNGNew.PNG

DisplayFields.PNG

WPB
Kudo Kingpin
Kudo Kingpin

 

Were you ever able to resolve this issue?  I am experiencing the same thing.

Confluent

Fixed this issue for me by setting the "Layout" property (Image attached)

Thanks, @Slaverty 

 

That saved my day!

dibb
Frequent Visitor

Perfect thanks.

 

Also wondering if there's a way to limit the number of choices to just one.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,324)