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

[Spinner] Review LocalDate and LocalTime spinner value factories

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 8u40
    • javafx

      Because the Spinner shows a simple TextField, it is not possible for a user to specify which element of a date or time they want to increment. This means that the increment / decrement functionality can only step by the ChronoUnit passed in by the developer, and this leads to negative user experiences. Ideally we would allow for users to click inside the textfield and specify which element they want to increment (hour, minute, or second), or (day, month, year).

      One option is to remove these two spinner value factories until such time that we can support this use case. This is probably the direction I am leaning...

            aghaisas Ajit Ghaisas
            jgiles Jonathan Giles
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Imported: