vuetify
vuetify copied to clipboard
[Bug Report][3.5.14] VTimePicker updates models very lazy
Environment
Vuetify Version: 3.5.14 Last working version: 2.7.2 Vue Version: 3.4.21 Browsers: Chrome 123.0.0.0 OS: Windows 10
Steps to reproduce
The timePicker doesnt trigger an model-update or an hour update very often. In vuetify2 it was updated on every scroll and click, so the user could confirm or abort. Now there is only an v-model update on hour and minute confirmation.
Expected Behavior
update:hour
and update:minute
triggers on every visible change.
v-model
updates on every visible change
Actual Behavior
v-model
updates only after hour and minute selection
update:hour
and update:minute
triggers only on click
Reproduction Link
https://play.vuetifyjs.com/#...
In Vuetify2: https://v2.vuetifyjs.com/en/components/time-pickers/#dialog-and-menu Click on "Dialog" - here you can confirm with "ok" - the model was updated more frequently (you can see it in the input-field)
cant trigger update:minute, theres got to be some bugs
i suggest to use an debounced call on update, so you don't have too few or too many updates on the model
cant trigger update:minute, theres got to be some bugs
This PR fixes that.
@blalan05 Unfortunately, still no update is triggered when you scroll. Could you implement this with an debounce? And thanks for your effort!
https://play.vuetifyjs.com/#...
https://github.com/vuetifyjs/vuetify/assets/75635412/c17a8b0b-f3b2-419b-98db-76540aef2838
@blalan05 currently selecting a different hour but same minute will not trigger @update:model-value either. playground example
https://github.com/vuetifyjs/vuetify/assets/121069425/05406f72-53b4-47b3-b9dc-c8f2354defc2
Additionally getting the following when updating to a different time to the one currently set
@blalan05 is there any plan to fix this issue soon? 🙈
@blalan05 Any progress on this issue?
@KaelWD is there any plan to release this component? Would you accept an bounty to focus on this?
@johnleider Maybe you can help?
I think this PR may fix this, I've changed how and when it emits the value, #20179