PDA

View Full Version : Disable all dates except last day of the month



deepanshu
24 Nov 2010, 1:39 PM
Hi,

This is silly but is there a way to disable all dates except the last day of the month in the date picker using the disabledDates config?

Condor
25 Nov 2010, 7:35 AM
With disabledDates you would have to provide a huge list of all disabled dates.

Instead, I would recommend using disabledDatesRE (but not as a RegExp, but as an object with a test method).