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

Date picker? #9

Closed
ralyodio opened this issue Sep 18, 2013 · 1 comment
Closed

Date picker? #9

ralyodio opened this issue Sep 18, 2013 · 1 comment

Comments

@ralyodio
Copy link

Can I use it as a date picker on input fields?

@kylestetz
Copy link
Owner

Not right out of the box.

It is possible with just a bit of engineering- CLNDR's clickEvents.click handler returns the date that was clicked on. You can use some simple jQuery selectors to find input fields of a certain class (such as <input class="clndr-datepicker" type="text">, hide them and replace them with CLNDR instances, and then use the click callback to fill the original textfields with the selected dates.

Hope that helps!

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