Dropdown doesn't display data in the dropdown list

Using an ArrayDataSource to populate a dropdown

dropjogs.fontSize = 15;
dropjogs.text = “jogadores”;
dropjogs.customStyle.fontSize = 15;
dropjogs.dataSource = jogadoresPT;

then adding. It doesn’t show the data contents on the dropdown list.
But I can select it from the list and it shows up as selected.
Maybe the text size isn’t getting initialized somehow.

image

There was a recent change where the default item renderer uses “text” rather than “value” to make things a little more consistent… can i see your data source? My guess is its using “value”?

Cheers,
Ian

FYI, from :HaxeUI v1.1 released! - #3 by ianharrigan

1 Like

Fixed it. Thanks!
Was wondering because I remember using these in older stuff.

1 Like