Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create a Flash Builder 4 project using the attached ComboBug.mxml and compile
2. Run ComboBug
3. Select "North America" in Combo1. Combo2 shows "Canada" as the selected item.
4. Click on Combo2, but don't select any item. The Combo2 drop down list shows "Canada" and "USA"
5. Select "Sourth America" in Combo1. Combo2 shows "Brazil" as the selected item.
6. Click on Combo2, but don't select any item. The Combo2 drop down list shows "Canada" and "USA"
7. Select "USA" in Combo2. Combo2 shows "Mexico" as selected item.
Actual Results:
In step 6, the Combo2 drop down list shows "Canada" and "USA".
Expected Results:
In step 6, the Combo2 drop down list should show "Brazil" and "Mexico".
Flex 3 doesn't have this problem.
Workaround (if any):
The Combo2's dataProvider is assigned to a new ArrayCollection when Combo1's selection is changed. Instead of assigning Combo2's dataProvider to the new ArrayCollection, update content of the Combo2's dataProvider to match the new ArrayCollection.
Found in Flash Builder 4 Beta Release Build 253292