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

Disabled dates range? #37

Open
Fingel opened this issue Mar 10, 2015 · 0 comments
Open

Disabled dates range? #37

Fingel opened this issue Mar 10, 2015 · 0 comments

Comments

@Fingel
Copy link

Fingel commented Mar 10, 2015

Is there a way to cleanly disable sets of dates? For example, I'm trying to disable all dates greater than today. The JS docs say to call moment, but since widget attrs are passed in as strings, I'm not sure how this could be accomplished:

options={"format": "YYYY-MM-DD HH:mm:ss", "disabledDates": "[moment.max()]" }

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

1 participant