jagdeepjain / sfapi

Automatically exported from code.google.com/p/sfapi
0 stars 0 forks source link

SelectCommands.doFlexSelect only works when labelField==label #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If you have a use of ComboBox like

  <mx:ComboBox id="foo" labelField="somethingElseThanLabel"/>

a call to SelectCommands.doFlexSelect fails, because it matches the text to
select against each item in the combo dataprovider against the "label"
property.

I have attached a patch, that properly uses the value of the "labelField"
property on the ComboBox instance when matching label.

Original issue reported on code.google.com by per.ole...@gmail.com on 29 Mar 2010 at 1:51

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by per.ole...@gmail.com on 31 Mar 2010 at 1:39