-
Notifications
You must be signed in to change notification settings - Fork 108
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
hide preset panel #63
Comments
No, it's not possible. We consider the presets panel as one essential feature of our widget, so it's not likely to become optional in the near future. Maybe only after a complete rewrite (which would come by v1.0) |
I did it by setting presetRanges to an empty array and then overridden some css classes to remove unnecessary borders and padding. Looks just like the original jquery ui datepicker after doing this much. |
Thanks for the info. The requirement i was trying to fulfill was to have a single datepicker showing 2 months, with the ability to select start and end dates. The preset panel is extraneous to this particular requirement. Just FYI, in case you do want to consider this for a future release. Feel free to close this, i'll leave that to you. |
Would be useful at least to be able to give a custom class name to the div.comiseo-daterangepicker-main. This way one would be able to remove the presets manually with CSS on a particular instance. In my case we use it in two places, one of which requires not to have any preset range while the other one requires to have them. With a custom class on one of them we could do it easily. |
I would like to implement this without the preset panel, but i'm not seeing an obvious way to do this... Is it possible (aside from hiding via CSS)? Thanks.
The text was updated successfully, but these errors were encountered: