Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8120120

ComboBox value should update when focus leaves it

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:

      Description

      When the user types a new value into a ComboBox, the new value is apparently not available (to getValue()) until the user types Enter, an action that the UI gives absolutely no clue might be required. You can't possibly expect end users to be familiar with the JavaFX documentation that says "when the user commits textual input into the textfield (commonly by pressing the Enter keyboard key), the value property will be updated."

      At the very least, the value should be updated when focus leaves the ComboBox.

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              bmellejfx Bill van Melle (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: