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

Programmatically select range #332

Open
davidecampello opened this issue Jul 25, 2021 · 3 comments
Open

Programmatically select range #332

davidecampello opened this issue Jul 25, 2021 · 3 comments

Comments

@davidecampello
Copy link

Hi, is it possible to select a range not clicking to dates but for example clicking on a button like "Last 3 months" and then view the range selected on the calendar? Thanks

@texarr
Copy link

texarr commented Aug 12, 2021

@davidecampello I'm wondering about the same issue, if You get rid of this please let me know.

@davidecampello
Copy link
Author

Hi! unfortunatly not. As a workaround I created a custom modal with three buttons. When clicked they dismiss the modal passing the range I want.

image

@texarr
Copy link

texarr commented Aug 12, 2021

Thanks for the reply. I have done it the same way, without integration with the calendar.
In my case, I need to pass the selected range by button when getting the calendar modal again, but there is a field for that in options input.

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