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

clearSelection on ComboBox disallows making the same selection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • fx2.0.2
    • javafx
    • Windows and Mac

      If you make a selection in a ComboBox,
      then call clearSelection() on the combobox,
      then try toi select the same item,
      the selected item will not display in the combobox

      I am attaching sample code. In the sample code:

      1) select 'a' - 'a' displays
      2) click reset button - 'a' disappears
      3) select 'a' - 'a' does NOT appear and it should

      The issue is major when the combobox only has a singe item

            jgiles Jonathan Giles
            ethompsonjfx Edward Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: