tags:

views:

10

answers:

2

How can I give value to combo box entries. For example, in combo box, I have Array Collection and inside it, I am adding strings like mx:String. I want to give it different value than the text. How can I do it?

+2  A: 

You can use the labelField property in the ComboBox to specify the field in your dataProvider which will be seen as the label in the dropdown.

Robusto
A: 

alternatively, use the labelFunction to create a label that doesn't necessarily rely on a single field.

Gregor Kiddie