Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35044

ComboBox don't set selectedItem correctly after resetting dataProvider

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.15.0
    • None
    • Spark: ComboBox
    • None
    • Windows 10. Firefox 43.0.4. Flash Player 20.0.0.306 debug version

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fernando.tbarros@gmail.com FERNANDO TEIXEIRA BARROS
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified