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

I have more question about presetRanges #72

Closed
mukda opened this issue Oct 31, 2016 · 1 comment
Closed

I have more question about presetRanges #72

mukda opened this issue Oct 31, 2016 · 1 comment

Comments

@mukda
Copy link

mukda commented Oct 31, 2016

If i need get text of presetRanges after click some menu , how get? ( I try get value but daterangepicker show startdate and enddate not show text.)

** i need show text not date.

@op16
Copy link
Contributor

op16 commented Oct 31, 2016

This is not supported.

I see two possible solutions.

  1. getRange should return a range object which has an optional text or description property when the range was selected from the menu.
  2. we could add some menuselect event, and you would pick the range description from that event's data.

First solution is the fastest to implement. The second would also solve #67. I think we should implement both, but because we are busy with other projects, only the first stands a chance to be implemented any time soon.

Let us know if the first solution would work for you.

@mukda mukda closed this as completed Nov 21, 2018
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