Opened 10 years ago

Closed 6 years ago

#5033 closed feature (wontfix)

Do not close datepicker until close button is clicked.

Reported by: graywh Owned by: graywh
Priority: minor Milestone: 1.11.0
Component: ui.datepicker Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

It would be nice if there was a new option to keep the datepicker widget open until the close button is clicked. Obviously, it would have to require or imply showButtonPanel is set to true.

Change History (9)

comment:1 Changed 10 years ago by Jörn Zaefferer

This shouldn't be an option, but a cancellable select-event.

comment:2 Changed 8 years ago by Jörn Zaefferer

Status: newopen

Should take this into account for the datepicker redesign.

comment:3 Changed 7 years ago by Scott González

Type: enhancementfeature

comment:4 Changed 7 years ago by Scott González

Milestone: TBD1.11.0

comment:5 Changed 6 years ago by Scott González

Owner: set to graywh
Status: openpending

What are the use cases for this? When do you have a datepicker that opens from the text field but doesn't close after you've selected a date?

comment:6 Changed 6 years ago by graywh

Status: pendingnew

US Americans often think about dates in month-day-year order. Almost every time I use a widget, I select the month and day first and have to re-open the widget to select the year.

comment:7 Changed 6 years ago by Scott González

Status: newpending

Are you aware of this being a widespread problem? I'm not aware of many (any?) sites that provide UIs in which the current year is not the most likely to be chosen or its not obvious that you need to change the year. Do you have examples of other datepickers that behave this way?

comment:8 Changed 6 years ago by graywh

Status: pendingnew

I mostly work with data collection applications where the dates entered are for things like birth, diagnoses, or surgeries. These are rarely the current year. As I took some time to compose this, I realized what's really important is making sure the user explicitly selected the year. I could use a group 3 selects for year, month, and day and have them default to a blank option, but some users want to be able to enter dates via the keyboard into a text box (such as "2001-03-29") and some want a fancy widget.

comment:9 Changed 6 years ago by Scott González

Resolution: wontfix
Status: newclosed

I don't recall seeing any similar requests, so I'm going to close as wontfix. You can achieve this behavior by using an inline date picker and controlling when it's opened and closed.

Note: See TracTickets for help on using tickets.