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

Disallow to show dates outside Min Max Daterange #39

Closed
K232 opened this issue Apr 9, 2017 · 1 comment
Closed

Disallow to show dates outside Min Max Daterange #39

K232 opened this issue Apr 9, 2017 · 1 comment

Comments

@K232
Copy link
Contributor

K232 commented Apr 9, 2017

Many thanks for this great plugin!

One question: Is it possible to restrict the scrolling to the Min and Max Daterange? So when I set e.g. Min to 1st January 2017 and Max to 20th March 2017, user should only be able to see January, February and March. If on January, the left back button should be disabled. Is that possible? Currently users could go back to whatever date. Of course they are greyed out, but I want to avoid user to switch outside the date range.

Many thanks!

@rebeccaXam
Copy link
Owner

In version 1.1.0 a property DisableDatesLimitToMaxMinRange is available (default is false), if you want to restrict movement then set this to true and it will disable the left/right arrow when the next/previous month are disabled fully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants