Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#3258 closed bug (fixed)

setDate opens not closeable datepicker if showOn is set to 'focus' or 'both'

Reported by: anonymous Owned by: grabanski
Priority: minor Milestone:
Component: ui.datepicker Version: 1.6b
Keywords: Cc:
Blocked by: Blocking:


If I try to set a date on an input field through the setDate method:


It shows a datepicker (I think this is because it gets the focus) that is not closeable either by calling:




or even clicking in the close button on the datepicker itself. The only way to hide the datepicker is to open another one.

It does not happen setting the showOn to 'button' so I think is related to the input getting the focus.

Change History (4)

comment:1 Changed 8 years ago by kbwood

  • Resolution set to fixed
  • Status changed from new to closed

Fixed. Only moves focus if the datepicker is already showing for that input field.

comment:2 Changed 6 years ago by jerone

I'm having problems with this issue again. I know it's an old one, but the report describes my issue perfect.

Tested with jQuery 1.5 & jQuery UI 1.8.9.

comment:3 Changed 6 years ago by scottgonzalez

Works fine for me:

comment:4 Changed 4 years ago by scottgonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.