cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lairpr
Helper I
Helper I

ComboBox not displaying items

Hi,

I am having an issue with a ComboBox that is not displaying the default selected items from another ComboBox when the screen is open or OnVisible.  For selected items from ComboBoxA to be displayed in ComboBoxB, I need to re-select the items in ComboBoxA so that they are displayed in ComboBoxB. 

Any ideas on how to fix this issue? 

Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @lairpr ,

 

You need to ensure that the data structure of the tables on the items property of the two combobox controls is the same.

 

For example:

If I have this items property on Combobox A:

vxiaochenmsft_0-1633919080655.png

 

I need to have a Combobox B like this:

vxiaochenmsft_1-1633919219671.png

 

They have the same column name and data type.

 

Then I set the DefaultSelectedItems property of Combobox B:

ComboBox A.Selected

 

In addition, pelase check the value of DisplayFields property.

 

Best Regards,

Wearsky

 

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @lairpr ,

 

You need to ensure that the data structure of the tables on the items property of the two combobox controls is the same.

 

For example:

If I have this items property on Combobox A:

vxiaochenmsft_0-1633919080655.png

 

I need to have a Combobox B like this:

vxiaochenmsft_1-1633919219671.png

 

They have the same column name and data type.

 

Then I set the DefaultSelectedItems property of Combobox B:

ComboBox A.Selected

 

In addition, pelase check the value of DisplayFields property.

 

Best Regards,

Wearsky

 

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.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

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,673)