number with sign in combobox dataprovider
- by gauravgr8
Hi,
I am trying to display country codes(+91, +60, +01) in the combobox. Although the dataprovider(array) contains + sign but is removed. I am not getting how to show it with sign.
<mx:Array id="countryArray">
<mx:Object label="India" data="+91" />
<mx:Object label="Malaysia" data="+60" />
<mx:Object label="Usa" data="+01" />
</mx:Array>
Is this the problem with dataprovider? How can I treate them as text not numbers?
Please help.
Thanks in advance.