DatePicker.setEditable(false) does not prevent editing

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 8u40
    • Affects Version/s: 8u20
    • Component/s: javafx
    • None

      After invoking DatePicker.setEditable(false) you can still edit the date by clicking the small calendar button. It seems DatePicker.setEditable(false) corresponds to DatePicker.getEditor().setEditable(false), which I believe is a bug, for how should one prevent editing when it is implemented this way?

      I believe the DatePicker should distinguish between

      1. the DatePicker as a whole being uneditable, which should prevent ANY kind of editing
      2. the DatePicker's text field being uneditable, which should still allow mouse editing using the calendar.

            Assignee:
            Leif Samuelsson (Inactive)
            Reporter:
            Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: