Opened 7 years ago

Closed 6 years ago

#8537 closed bug (worksforme)

Issue with datepicker when tiggered by link with hidden input box inside li

Reported by: brandonm Owned by:
Priority: undetermined Milestone: 1.11.0
Component: ui.datepicker Version: 1.8.23
Keywords: Cc:
Blocked by: Blocking:

Description

When triggering datepicker with text link inside li. Also having a text input with display:none style or hidden input inside the li it produces an error.

There are a couple workarounds use visibility:hidden, width:0;border:none, or a empty div after the input.

Here is my stackoverflow question where the issue and solutions were found.

http://stackoverflow.com/questions/12206793/jquery-ui-datepicker-triggered-from-text-link

Example of issue.

http://jsfiddle.net/brandonm/nHpbZ/3/

Change History (2)

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

Milestone: 1.9.01.11.0

comment:2 Changed 6 years ago by mikesherov

Priority: minorundetermined
Resolution: worksforme
Status: newclosed

This works as expected using the latest jQuery, jQuery UI, and jQuery UI css: http://jsfiddle.net/uNyXP/

Please reopen if I've missed something!

Note: See TracTickets for help on using tickets.