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

ESC keypress is not handled #104

Open
ruralcoder opened this issue Jan 24, 2021 · 2 comments
Open

ESC keypress is not handled #104

ruralcoder opened this issue Jan 24, 2021 · 2 comments
Labels
question Further information is requested

Comments

@ruralcoder
Copy link

After input has been entered, i get input events, but after pressing the ESC key, no event comes to the app to reset the variable or clear my selection.

@mattzollinhofer
Copy link
Owner

Hmm, I just tried to replicate this and I can't. On the docs page (https://mattzollinhofer.github.io/vue-typeahead-bootstrap-docs/) when I type unit I get two dropdown results. If I then type ESC the dropdown and text intput both clear.

Maybe I'm misunderstanding you?

@mattzollinhofer mattzollinhofer added the question Further information is requested label Feb 9, 2021
@kothonet
Copy link

kothonet commented Mar 9, 2021

I think I understood the question. If You call handleInput instead of set empty value directly in inputValue, the event will be fired.

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

No branches or pull requests

3 participants