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

ability to set range from two input fields and update the calendar selected range #68

Open
robbyking3 opened this issue Aug 8, 2013 · 5 comments

Comments

@robbyking3
Copy link

I have the two input fields that are populated with the start date and end date and would like the ability to watch each input for a change and call something like "setRangeEnd" and "setRangeStart" and call that each time a change event occurs in the input.

@eeroan
Copy link
Contributor

eeroan commented Aug 9, 2013

Currently the only way to achieve your goal is to render the calendar again after an input event. If you want to code support for changing range externally, I'm happy to accept your pull request. Perhaps the calendar could listen a custom event that could be triggered from outside:

container.continuousCalendar(options)
//for range version
container.trigger('update', myDateRange)
//and for single date version:
container.trigger('update', myDateTime)

@stutivora
Copy link

Do we have this functionality? Any plans on adding this?
I am setting the range object with a start and end date. Would like functionality that reflects the rage on the calendar.

@eeroan
Copy link
Contributor

eeroan commented Aug 24, 2015

Would you like to contribute?

@eeroan
Copy link
Contributor

eeroan commented Aug 25, 2016

This is the next I'm about to implement

@prateeksan
Copy link

@eeroan Any updates on this issue?

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

4 participants