Opened 6 years ago

Closed 6 years ago

#10097 closed bug (notabug)

Today's button doesn't select today's date (datepicker)

Reported by: Anne-Gaelle Colom Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

Description

When trying the datepicker with the showButtonPanel option to display a button for selecting Today's date and a Done button for closing the calendar, clicking the "Today" button doesn't seem to select today's date. Tried with 1.10.4 and latest git version:

see: http://jsbin.com/qabesata/1/edit and http://jsbin.com/qabesata/2/edit as well as http://jqueryui.com/datepicker/#buttonbar

Change History (2)

comment:1 Changed 6 years ago by Anne-Gaelle Colom

ok, I just now understand what the "today" button does. It doesn't select the date, it sets the calendar page to show today's date. So I guess this works as intended. But maybe this should be made a bit clearer in the docs. (I thought clicking the button would "select" today's date as if I had clicked today's date.) So we can actually close this ticket.

I have tried to close this but can't seem to be able/allowed to close my ticket??

Last edited 6 years ago by Anne-Gaelle Colom (previous) (diff)

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

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.