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

If end or start is null is infinite #20

Closed
adrianoresende opened this issue Nov 30, 2017 · 1 comment
Closed

If end or start is null is infinite #20

adrianoresende opened this issue Nov 30, 2017 · 1 comment
Labels

Comments

@adrianoresende
Copy link

When I use this code:

:disabled-dates="[{ start: new Date(), end: null }]"

image

Why this code should not disable days today until infinity?

OBS:
:disabled-dates="[{ start: null, end: new Date() }]" is same result, this is wrong.
This should disable the days until today and available in future.

@nathanreyes
Copy link
Owner

Thanks. I hadn't initially considered using null as an 'endless' date, but I don't see an objection with it.

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

No branches or pull requests

2 participants