vuetify
vuetify copied to clipboard
fix(VTimePicker): it won't trigger update Value when user only update hour
Description
There's an obvious bug in Labs/VTimePicker. When the user first selects the hour and minute, it works fine.
However, when the user changes the hour and keeps the minute the same, it does not emit the update:modelValue
function.
It only emits update:hour
.
For example, if you first select "11:50 am" and then try to change it to "12:50 am", you will see that the v-model
doesn't change to 12. Because the update:modelValue
does not emit.
I remove the emitChange
part. Because it is for "update after user change the second". But at that moment, the following lazyInputHour
would already changed.