flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "FERNANDO TEIXEIRA BARROS (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35044) ComboBox don't set selectedItem correctly after resetting dataProvider
Date Sat, 05 Mar 2016 12:45:40 GMT
FERNANDO TEIXEIRA BARROS created FLEX-35044:
-----------------------------------------------

             Summary: ComboBox don't set selectedItem correctly after resetting dataProvider
                 Key: FLEX-35044
                 URL: https://issues.apache.org/jira/browse/FLEX-35044
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: ComboBox
    Affects Versions: Apache Flex 4.14.1
         Environment: Windows 10. Firefox 43.0.4. Flash Player 20.0.0.306 debug version
            Reporter: FERNANDO TEIXEIRA BARROS


I've recently migrate from Adobe Flex 4.5.1 to Apache Flex 4.15. Everything was fine, except
from some bugs on Charts and this bug on combo.

Issue: When I set a dataProvider to the combo, and then set the selectIndex, selectedItem
was correctly setted. 
But after setting dataProvider again and setting the same selectedIndex, the selectedItem
is now null.

Workaround:
Override dataProvider method on a new component based on ComboBox and setting "selectedItem
= undefined" after setting super.dataProvider.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message