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

fix(date picker): minDate is now exclusive #929

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrispymm
Copy link
Contributor

@chrispymm chrispymm commented Nov 15, 2024

This PR makes minDate behaviour match maxDate, and allows the date provided in the option to be selected.

Previous behaviour: minDate: 17/5/2024 would result in 17/5 being excluded (non-selectable)

New behaviour: minDate: 17/5/2024 results in 17/5 being available (selectable)

BREAKING CHANGE: The date provided to the component via the minDate option is now selectable by users. If you are using the minDate functionality, you will need to adjust the dates you pass into the component to ensure the correct dates are included/excluded.

fix #923

This PR makes minDate behaviour match maxDate, and allows the date provided in the option to be
selected.

BREAKING CHANGE: The date provided to the component via the minDate option is now selectable by
users. If you are using the mindate functionality, you will need to adjust the dates you pass into
the component to ensure the correct dates are included/excluded.

fix #923
@chrispymm chrispymm added bug A task that fixes something that isn't working breaking change labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change bug A task that fixes something that isn't working
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Datepicker: minDate is inclusive, maxDate is exclusive
1 participant