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

ComboBox selects an unexpected item when the Enter key is pressed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: ComboBox
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run the attached application.
      2. Click text area of the ComboBox. The dropDown should be closed.
      3. Press the down arrow key. The ComboBox shows "Alabama" and the selectedIndex is shown below the ComboBox as "0".
      4. Press the Enter key. The ComboBox and the selectedIndex stay the same.
      5. Press the up arrow key. The ComboBox shows "Alabama".
      6. Press the Enter key.

      Actual Results:
      The ComboBox becomes empty and the selected index becomes "-1".

      Expected Results:
      No change. Pressing Enter does not change the value that is selected. If the selected index should be -1 then that should have changed when the up arrow was pressed (step #5) instead of waiting for the Enter key.

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: