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)