[Bug Report][3.7.6] v-date-picker
: unable to only pick month-year.
#20800
Labels
v-date-picker
: unable to only pick month-year.
#20800
Environment
Vuetify Version: 3.7.6
Vue Version: 3.5.13
Browsers: Chrome 131.0.0.0
OS: Mac OS 10.15.7
Steps to reproduce
I want the date picker to display only the month and year options. After reviewing the documentation, I noticed that Vuetify 2 provided this functionality through the type="month" prop. However, in Vuetify 3, I couldn't find a straightforward way to achieve this. I attempted to use the view-mode prop and set it to "months", but selecting a month would immediately revert to the default date picker view. I thought of using the update:month event to close the date picker, but unfortunately, the selected value (month and year, in my case) isn’t propagated to the bound v-model until a full date is chosen.
Expected Behavior
propagate month and year to the bound model
Actual Behavior
does not propagate
Reproduction Link
https://play.vuetifyjs.com/#...
The text was updated successfully, but these errors were encountered: