gijgo
gijgo copied to clipboard
Cannot set default value for picker
Hi, it would be nice to have a config variable eg. defaultValue: '2000-01-01' that is the first value for the datepicker if the input filed is empty.
If i use value: '2000-01-01' then the start value is this date but the input field is already filled. But I don't want that it is already filled.
Is this possible?
Thank you very much in advance.
It would indeed be very usefull if you could set a default date for the datepicker. This way you can let the datepicker open on a specific year/month (it's a bit annoying if a user needs to specify their birthdate, and the datepicker opens on the current month/year, it's nicer to let the datepicker open on the current month 18 years ago for example.)
It would also be nice that if you specify a maxDate, the datepicker won't open on the current month/year, but on the first date that's enabled.
Adding another vote to add a default date property.