nova-date-range icon indicating copy to clipboard operation
nova-date-range copied to clipboard

Works with only "from" or "to" ?

Open laraning opened this issue 7 years ago • 2 comments

Hi kpolicar,

Great idea, thanks for developing it !

It will fit my needs in a project that I am developing if it can also accept "partial" ranges, like only "from", or a "until" way. I have situations where I want to ask for a "future date" and don't want to give a final "date end" date.

Any idea if it's already possible to to use it or if you could improve it on that way?

Thanks, Bruno

laraning avatar Oct 03 '18 07:10 laraning

Hello laraning,

I'm glad you found it useful. The widget does support the initial date as nullable, you simply have to click away from the datepicker once you've set the first date. It should then appear in the format "xxx-xx-xx to /". I do plan on adding support in the near future for vice versa, the final date as nullable.

kpolicar avatar Oct 03 '18 11:10 kpolicar

Great, thanks. The "from" date is more important than the "until" date so I'll use it from now on, and wait for your upgrade later on. I'll give it a spin this week to test it out on my project and if I find something I'll let you know.

Cheers, Bruno

laraning avatar Oct 03 '18 13:10 laraning