flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-27684) DropDownList selectedItem is ignored if dataprovider changes
Date Fri, 13 Sep 2013 00:59:54 GMT

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

Justin Mclean resolved FLEX-27684.
----------------------------------

    Resolution: Not A Problem
    
> DropDownList selectedItem is ignored if dataprovider changes
> ------------------------------------------------------------
>
>                 Key: FLEX-27684
>                 URL: https://issues.apache.org/jira/browse/FLEX-27684
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DropDownList
>    Affects Versions: Adobe Flex SDK 4.5 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Create a DrownDownList, binding a selectedItem and an arrayCollection to the dataprovider
> 2. Change the selectedItem (it is not in the dataprovider at this point)
> 3. Change the dataprovider, selectedItem is now in the dataprovider, but selected index
is now -1
>  
>  Actual Results:
>  Nothing is selected
>  
>  Expected Results:
>  SelectedItem is in DataProvider, it should be selected.
>  
>  Workaround (if any):
>  Instead of binding against selectedItem, can bind selectedIndex with selectedIndex="{dataProvider.indexOf(selectedItem)}"

--
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

Mime
View raw message