Skip to content

Conversation

btkostner
Copy link

used GitHub editor

This allows any listeners on the component to be passed down to the input field. This allows all the events like blur to work as expected without having to manually specify all of them.

@nywton
Copy link

nywton commented Dec 19, 2018

@btkostner Is there a way to catch the keydown event manually in the current version?

@btkostner
Copy link
Author

@nywton not with Vue. You could manually query for an input element and add a listener, but I would recommend against that because you will lose a lot of the nice Vue benefits.

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

Successfully merging this pull request may close these issues.

2 participants