[ https://issues.apache.org/jira/browse/FLEX-35044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182870#comment-15182870 ]
Mark Kessler commented on FLEX-35044: ------------------------------------- Would you please provide a small test application that reproduces the problem. > 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.15.0 > Environment: Windows 10. Firefox 43.0.4. Flash Player 20.0.0.306 > debug version > Reporter: FERNANDO TEIXEIRA BARROS > Original Estimate: 10m > Remaining Estimate: 10m > > 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)