function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ekmekm 

PicklistEntry, List Controls, and Flex

Hi,

I would like to be able to load picklist values into a Flex List control. I'm able to load picklist values into a ComboBox and was hoping I'd be able to load the values into the List control in the same way. However, it doesn't seem to be working. I didn't see anything about this in the documentation or any other examples, so if anyone has done this, I'd appreciate any feedback or help you could provide.

Regards,

Errol

This doesn't work--
<mx:List id="cmbType2" dataProvider="{picklistValues}"/>

This works---   
<mx:ComboBox id="cmbType1" dataProvider="{picklistValues}" />