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

How do disable particular date? #4

Closed
bilsamtech opened this issue Sep 17, 2018 · 3 comments
Closed

How do disable particular date? #4

bilsamtech opened this issue Sep 17, 2018 · 3 comments

Comments

@bilsamtech
Copy link

How do I disable a particular date? Let's say someone booked future dates and now I'm having look on the calendar.

@crazychicken
Copy link
Owner

Thank you for your feeback!

That is a good idea, i will update it in the next version.
If you can't wait for the next version, i suggest using: bootstrap-datepicker.

@luntik4344
Copy link

luntik4344 commented Sep 26, 2018

Thank you for your feeback!

That is a good idea, i will update it in the next version.
If you can't wait for the next version, i suggest using: bootstrap-datepicker.

And how long nearly to wait for a new version?:)
I have made a function to disable particular dates myself (based on fnDataEvent), but the problem is that I don't know how to check disabled days while the user chooses the range.
So I need to deny the user to choose the range of dates which contains disabled dates.

@crazychicken
Copy link
Owner

Hi @luntik4344,
I have just updated version 1.0.3. You can use option dateDisabled

Thank you.

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