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

Allow empty fields and clear #30

Closed neufman closed 5 years ago

neufman commented 5 years ago

Hello,

Is it possible to initialize daterange picker with empty fields ? After select a range, a reset button would be great !

Thanks !

praveenpuglia commented 5 years ago

Hi! In the options object, if you pass startDate and endDate as empty string. It should initialize the fields with empty values.

Let me know if this doesn't work for you.

neufman commented 5 years ago

It doesn't seem to work. Inputs have value "Invalid Date".

praveenpuglia commented 5 years ago

I have fixed part 1 of the issue in 57b06f2e9d211582162c13d823eca941bfda94d2. for part 2, I am going to create a new issue and update there.