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

Support Blur event in TimePicker #2085

Closed
kerbo opened this issue Dec 16, 2019 · 1 comment
Closed

Support Blur event in TimePicker #2085

kerbo opened this issue Dec 16, 2019 · 1 comment
Assignees

Comments

@kerbo
Copy link

kerbo commented Dec 16, 2019

I want to get a blur event (or some event) when the time is changed and the user exits the field.

Currently @blur doesn't work as expected however its not listed as a supported event in the docs.

What happens now

  1. Click into the timepicker field, popup appears, click outside the field, popup closes and blur occurs

  2. Click into the timepicker field, popup appears, select hour or min and blur occurs. Click outside to close popup, no blur.

What I'd like is to get an event after the user selects a time and exits the field.

The input event is not ideal because it fires every time a time component changes (hour, min, etc). Same with using a watcher and v-model.

https://codepen.io/ken-elston/pen/XWJNpzZ?editors=1011

@jtommy jtommy self-assigned this Dec 21, 2019
@jtommy jtommy closed this as completed in 08fe6b7 Dec 21, 2019
LeoMouyna pushed a commit to LeoMouyna/buefy that referenced this issue Jan 6, 2020
LeoMouyna pushed a commit to LeoMouyna/buefy that referenced this issue Jan 6, 2020
@Christilut
Copy link
Contributor

Looks like this is missing on Datetimepicker? Just happened to ran into the same issue but I'm using the Datetimepicker instead

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

3 participants