Skip to content
New issue

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

bug: date immediately prior to minDate in Datepicker still selectable / maxDate not selectable #1272

Open
2 tasks done
tylernisonoff opened this issue Feb 15, 2024 · 2 comments
Labels
needs info Further information is requested

Comments

@tylernisonoff
Copy link

tylernisonoff commented Feb 15, 2024

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

  1. Go to datepicker "Limit the date" example on website
  2. Example tries to limit minDate to 2023-01-01

Current behavior

If you scroll back to 2022-12-31, its still available. There seems to be an "off-by-one" where the previous date of the minDate is still available for selection.

Similarly, the maxDate is not available, even though this is meant to be inclusive

Expected behavior

2022-12-31 to be disabled.

@tylernisonoff tylernisonoff changed the title bug: date immediately prior to minDate in Datepicker still selectable bug: date immediately prior to minDate in Datepicker still selectable / maxDate not selectable Feb 15, 2024
@SutuSebastian
Copy link
Collaborator

CC @rluders

@rluders rluders added the needs info Further information is requested label Feb 19, 2024
@rluders
Copy link
Collaborator

rluders commented Feb 19, 2024

Not sure if I get it... but some screenshots:

image
image

It seems correct to me. It is limited between January 1st and April 30th of 2023. What am I missing here? @tylernisonoff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants