There is a need to fully restrict user input in datepicker to a range specified in props.
Currently there is a way to set allowed dates for the picker, as per
https://vuetifyjs.com/components/pickers#example-6
however, this works only for days select, year and month selects are not affected.
Steps to reproduce:
It would be nice to:
I am not aware of any work-around for this case, except for explicitly informing the user about restricted dates range before he reaches the datepicker via some text field, or in worst scenario via validation error. Making year/month selects restrictable will significantly improve UX of the datepicker component.
Currently user is able to select year and month that are out of the allowed range, making 2 steps out of 3 possible before "hitting the wall". Then he has to go back and select a value once again. This can cause some frustration on user's end.
The format of the min/max prop is not in the docs. It is YYYY-MM-DD
Most helpful comment
The format of the min/max prop is not in the docs. It is YYYY-MM-DD