Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add Click Event to Time Picker Hours, Minutes, and Period #20784

Open
MisuseofMana opened this issue Dec 17, 2024 · 0 comments

Comments

@MisuseofMana
Copy link

MisuseofMana commented Dec 17, 2024

Problem to solve

Currently in Vuetify 3.7.5 <v-time-picker/> does not have click events, it only has update events. When using a time picker inside a menu there is no way to hook into either AM or PM period clicks as a way of closing the menu reliably.

Possible duplicate of #7027 same ask with a different end use case in mind.

Proposed solution

This issue would be solvable with events on the Hours, Minutes, and Period by adding something like @click:period in this case or adding click emits to all three to allow further customization. In this case @click:period is the only event being requested.

Link to Vuetify Playground with code comments and example of the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant