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

Restrict selection to 30 days #70

Open
dwalks12 opened this issue Jul 1, 2020 · 4 comments
Open

Restrict selection to 30 days #70

dwalks12 opened this issue Jul 1, 2020 · 4 comments
Labels
fresh question Further information is requested

Comments

@dwalks12
Copy link

dwalks12 commented Jul 1, 2020

Is there a way to restrict the range to 30 days maximum?

@wojtekmaj wojtekmaj added the question Further information is requested label Jul 3, 2020
@wojtekmaj
Copy link
Owner

Not at the moment, but once the feature lands to pass unfinished ranges to onChange function, you'll be able to detect selected first date & set minDate/maxDate accordingly.

@AustinMutschler
Copy link

Not at the moment, but once the feature lands to pass unfinished ranges to onChange function, you'll be able to detect selected first date & set minDate/maxDate accordingly.

Any eta for this type of feature?

@github-actions github-actions bot added the stale label Mar 21, 2022
@wojtekmaj wojtekmaj added fresh and removed stale labels Mar 21, 2022
Repository owner deleted a comment from github-actions bot Mar 21, 2022
@wojtekmaj wojtekmaj changed the title Restrict Date Range to 30 day maximum Restrict selection to 30 days Mar 21, 2022
@the-marolie
Copy link

@wojtekmaj , any update on this feature ?

@Mohammed-Yasin-Mulla
Copy link

As a work around, I check the values in the onChange function using dayjs if it range exceeds more than 30 days, I show a toast message saying range exceeds more than 30 days... and manually change the sate value.

I hope this is helpfully till the feature is added

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

No branches or pull requests

5 participants