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

[PromptText] ComboBox displays whitespace character when no valid selection is made rather than returning to prompt text.

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Run the attached swf.
      2. In the first ComboBox displaying the prompt text "Number?" open the drop down by clicking the drop-down button.
      3. Press the down arrow to select the first item in the list.
      4. Hit escape to cancel selection.
      5. Note that there is no selection but no prompt (correct behavior, because the box still has focus).
      6. Hit tab to move to the next component.

      Actual Results:
      The box remains empty. Selecting the ComboBox again will reveal that there is a whitespace character there, rather than nothing.
      Also note that, although there is a whitespace character there that can be selected, the index is -1 and selected value is "undefined", indicating that nothing has been entered.

      Expected Results:
      Prompt text returns. A non-value is never present in the ComboBox display.

      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: