You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/09/13 02:41:53 UTC

[jira] [Resolved] (FLEX-23402) ComboBox Drop Down List Doesn't Refresh When ComboBox's dataProvider is assigned to a new ArrayCollection

     [ https://issues.apache.org/jira/browse/FLEX-23402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Mclean resolved FLEX-23402.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.11.0

Fixed by fix to FLEX-25906
                
> ComboBox Drop Down List Doesn't Refresh When ComboBox's dataProvider is assigned to a new ArrayCollection
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-23402
>                 URL: https://issues.apache.org/jira/browse/FLEX-23402
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: ComboBox
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>             Fix For: Apache Flex 4.11.0
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira