We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the documentation, minDate and maxDate denote the
minDate
maxDate
Minimum/Maximum limit to selectable date.
According to the docs, the expected behaviour is if minDate is specified greater than maxDate, all dates are disabled.
Common code:
const today = new Date(); const tomorrow = new Date(); tomorrow.setDate(tomorrow.getDate() + 1); // Reproducer works with +2, +3, etc.
Correct behaviour:
new Datepicker(datepicker, { minDate: today, maxDate: tomorrow });
Incorrect behaviour:
new Datepicker(datepicker, { minDate: tomorrow, maxDate: today });
Result in both cases:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to the documentation,
minDate
andmaxDate
denote theAccording to the docs, the expected behaviour is if
minDate
is specified greater thanmaxDate
, all dates are disabled.Common code:
Correct behaviour:
Incorrect behaviour:
Result in both cases:
The text was updated successfully, but these errors were encountered: