Opened 10 years ago
Closed 10 years ago
#8913 closed bug (notabug)
Date picker minDate error
Reported by: | jashidkt | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.0 |
Component: | ui.datepicker | Version: | 1.9.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Even if i set a date according to the server date, when i assign a value to minDate or maxDate, it always read according to the system date and not the server date which i had assigned.
How could i fix this error?
Please refer http://jsfiddle.net/ZzqFv/9/
Note: See
TracTickets for help on using
tickets.
Hi jashidkt,
You need to call
setDate
after initializing the datepicker - http://jsfiddle.net/tj_vantoll/CChZY/.