when minDate and maxDate range is set, clicking on an otherMonth does not reset allowed dates #110

Open
DimitarChristoff opened this Issue Feb 28, 2012 · 0 comments

Projects

None yet

1 participant

As title suggests. To reproduce. set minDate to new Date(), maxDate to new Date().increment("day", 30);. open date picker, in the current month view, pick a date from next month, eg, 6th. Open it again, the disabled dates have not reset even though it now goes to next month.

temp fix is via forcing a re-render of days after select in Picker.Date.js on line 316 after this.date = date;:

this.renderDays(date, fx);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment