Skip to main content

Search and Top Navigation

#5033 closed feature (wontfix)

Opened December 31, 2009 05:16PM UTC

Closed April 03, 2013 05:32PM UTC

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:

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.

Attachments (0)
Change History (9)

Changed January 15, 2010 12:16PM UTC by jzaefferer comment:1

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

Changed February 27, 2012 02:02PM UTC by jzaefferer comment:2

status: newopen

Should take this into account for the datepicker redesign.

Changed June 26, 2012 01:22AM UTC by scottgonzalez comment:3

type: enhancementfeature

Changed October 11, 2012 09:04PM UTC by scottgonzalez comment:4

milestone: TBD1.11.0

Changed April 03, 2013 03:18PM UTC by scottgonzalez comment:5

owner: → 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?

Changed April 03, 2013 03:29PM UTC by graywh comment:6

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.

Changed April 03, 2013 03:41PM UTC by scottgonzalez comment:7

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?

Changed April 03, 2013 05:18PM UTC by graywh comment:8

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.

Changed April 03, 2013 05:32PM UTC by scottgonzalez comment:9

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.