Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK 3.5 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s):
Browser: Internet Explorer 6.x
Language Found: English
Description
Steps to reproduce:
1. Set DataProvider of the ComboBox
2. View the Drop down list
3. Change the DataProvider of the ComboBox
4. View the Drop down list
Actual Results:
The first data provider data is still in the list
Expected Results:
The new data provider data should be in the list
Workaround (if any):
NONE!
====Source code for the TestCode====
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.ColorPicker;
private function changeDP():void
]]
>
</mx:Script>
<mx:String id="reproduceSteps">
<![CDATA[
Steps to reproduce:
1. Enter a list like: a,b,c,d in the ComboBox DP Items
2. Click 'Change the DP'
3. Click on the combox see the list
4. Enter another list like: e,f,g,h in the ComboBox
5. Click 'Change the DP'
6. Click on the combox. BUG! The list is still a,b,c,d
]]
>
</mx:String>
<mx:VBox>
<mx:HBox>
<mx:Text text="Combo Box:" />
<mx:ComboBox id="comboBox" />
</mx:HBox>
<mx:Spacer height="20" />
<mx:Button label="Change the DP" click="changeDP();" />
<mx:Text text="ComboBox DP Items:" />
<mx:TextArea editable="true" id="listArea" />
<mx:Text text="Items should be seperated by commas" />
<mx:Spacer height="20"/>
<mx:Text text="
" />
</mx:VBox>
</mx:Application>