Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 3.5 (Release)
-
None
-
Affected OS(s): Windows
Browser: Internet Explorer 7.x
Language Found: English
Description
Steps to reproduce:
1. Create a mx:ComboBox on a panel and bind a data provider to it
...
[Bindable] public var comboBoxDataArray:ArrayCollection = null;
...
<mx:ComboBox labelField="name" dataProvider="
" width="130"></mx:ComboBox>
2. Create 2 ArrayCollection-s of id, name pairs
...
var peopleArray:ArrayCollection = new ArrayCollection(
[
,
,
]);
...
...
var animalArray:ArrayCollection = new ArrayCollection(
[
,
,
,
]);
...
3. First assign one ArrayCollection at runtime and then assign the second ArrayCollection, also at runtime. You can trigger this with a button and you can swap back and forth if you want...
Actual Results: Using Flex SDK 3.5.0 the content of the dropdown (the list) is not updated correctly after swapping/assigning between the two array collections.
Expected Results: In Flex SDK 3.2.0 and 3.3.0 it works correctly and the dropdown is updated.
Workaround (if any): Downgrade the SDK to a previous version (have not tried this in 3.4.0)