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

Combobox label not updating

Hi!

 

I am new to Power Apps and I am building the app in Teams.

My issue is that the label won't read the combobox

My code in the Text property of label is  cobNewJoiner.Selected.Name

I expected the label will show "Testing", but it just kept empty. Any idea how to fix this? Thanks!

R_KW_1-1623130034480.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PowerDutchie
Regular Visitor

You're using the teams combobox, if you go to settings and activate "classic controls" you can choose the old combobox, this one works. Unless someone proves me otherwise I believe the new fluent ui combobox is broken. 

View solution in original post

16 REPLIES 16
CNT
Super User
Super User

@R_KW try this,

First(cobNewJoiner.SelectedItems).Name

Not working, still blank.

And I tried IsBlank(cobNewJoiner.Selected.Name), it shows "true". Why would it be blank?

@R_KW what is the Items property of the combobox

Just "NewJoinerPhases", the name of the table

@R_KW what are the columns in this table?

Also put another label and set it to CountRows(cobNewJoiner.SelectedItems) and see what you get. 

The first column is Name, followed with 5 other string columns.

 CountRows(cobNewJoiner.SelectedItems) shows 1

@R_KW ok. For sure 1 item is selected. Put this in a button onselect, select the whole formula and see what it shows

First(cobNewJoiner.SelectedItems).

Please send me a screenshot. 

You mean put First(cobNewJoiner.SelectedItems) in button onselect?

@R_KW yes just to test 

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 (4,418)