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

Add @keyup event support for b-input #99

Closed
caiofsouza opened this issue Jun 13, 2017 · 1 comment
Closed

Add @keyup event support for b-input #99

caiofsouza opened this issue Jun 13, 2017 · 1 comment

Comments

@caiofsouza
Copy link

For now, we can't attach :keyup event to the b-inputs comps, and it will be helpful, for example, when push the [Enter] key and submit a form or data from a field.

Thanks :D

@rafaberaldo
Copy link
Member

rafaberaldo commented Jun 16, 2017

Actually this is already possible:

<b-input @keyup.native.enter="enter"></b-input>

Just add the .native modifier to any event to capture natively on any component ;)

kikuomax added a commit to kikuomax/buefy that referenced this issue Sep 15, 2023
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

2 participants