fengyuanchen/pickerjs

Make options clickable & have minDate option

Opened this issue · 0 comments

Make options clickable

So far we can either scroll or use the Control option to add the arrows to select the date. But to be even more enhanced you should have the option to be able to click on any value and for it to work.

Lets say day 20 is picked. And i can see day 19, 18 above and 21, 22 below the picked number 20. It would be cool if i click on 18 and that became the picked number. Because users would expect this.

minDate

My second feature i would like introduced is to have a minDate option & maxDate. I don't want the user to be able to select a date prior to today. Yes the date starts on todays date by default, but they can still scroll backwards...and the Year can literally go back to the year 0.

These implementations would really make this library even better 👍

Cheers