praveenpuglia / vuetify-daterange-picker

The missing date range picker for Vuetify JS you have been looking for.
https://vuetify-daterange-picker.gitbook.io/docs
MIT License
197 stars 59 forks source link

[Feature Request] closeable calendar pane #33

Closed alex-mos closed 5 years ago

alex-mos commented 5 years ago

I'd like to close calendar pane after choosing date range like at element.io Add this option please.

praveenpuglia commented 5 years ago

You mean autoclose right?

alex-mos commented 5 years ago

Yes. Autoclose after loosing focus.

praveenpuglia commented 5 years ago

Hi, have you looked at the "Open in Menu" example here - http://vuetify-daterange.surge.sh/ ? The daterange picker itself doesn't do any sort of handling like that. You can put this component inside any other overlay-ish component to get the same effect.

Will that do the job? let me know.

It still doesn't solve the "Select two dates to auto close" use case. If that's something you are looking for, let me know.

praveenpuglia commented 5 years ago

Hi!

I built a new version from ground up keeping simplicity of use in mind. Can you please try it out and let me know if that works for you?

P.S - I still need to add the option to pass in presets.

https://vuetify-daterange-picker.gitbook.io/docs/

alex-mos commented 5 years ago

Hi Praveen! I tested version 3 and it completely solves this issue. Date-picker is closed by default and appears after a click on the input. Thank You!

praveenpuglia commented 5 years ago

Closing this then! :)