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

Add Preset Range #50

Open
rl99 opened this issue Mar 14, 2016 · 4 comments
Open

Add Preset Range #50

rl99 opened this issue Mar 14, 2016 · 4 comments

Comments

@rl99
Copy link

rl99 commented Mar 14, 2016

Is there a way to add a preset date that would be the same as the original date as passed in via

$("#e2).daterangepicker("setRange", {start: sd, end: ed} )

I cannot see where the initial values are passed in.

Thanks
RL99

@op16
Copy link
Contributor

op16 commented Mar 14, 2016

Maybe you can use the second solution mentioned in #7.

@rl99
Copy link
Author

rl99 commented Mar 14, 2016

So there is no way to add a preset called "Original" and populate it with the original dates?

@op16
Copy link
Contributor

op16 commented Mar 14, 2016

Sorry, I misunderstood your question. See http://tamble.github.io/jquery-ui-daterangepicker/#presets
(unfortunately for now you have to list all presets). This is probably the most requested feature...

@rl99
Copy link
Author

rl99 commented Mar 14, 2016

Perfect! Thanks!

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