Editable ComboBox does not use ButtonCell to render selected item

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 8u40
    • Affects Version/s: 8u5
    • Component/s: javafx
    • None
    • Environment:

      Windows 7, Java8u5

      A ComboBox does not use the ButtonCell to render the selected item if the ComboBox is editable.
      Instead, it renders the item via its toString()-method.

      I expected ComboBoxes to behave the same in this regard, no matter the property's value - similar to editable TableViews, where a label is rendered until the user starts editing.
      This label can be rendered using the ButtonCell.

      For an example, please see
      https://github.com/UrsKR/sandboxes/blob/9e6f678535d26c8560ce084286b561a9f68a0515/sandbox-javafx/src/main/java/bugs/combobox/RT37364/EditableComboboxDoesNotUseButtonCell.java

            Assignee:
            Jonathan Giles
            Reporter:
            Urs Reupke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: