-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Description
Version
2.3.0
Reproduction link
https://jsfiddle.net/jnz0vtty/
Steps to reproduce
- Create an input field which calls some method when the user types (
@input) - Blur out of the field and the method will be called as if the user had typed something.
What is expected?
The @input event should only be triggered when the user types in the input element.
What is actually happening?
The @input event is being called when the user blurs out of the input field
I'm working on a typeahead component and I'm seeing a weird behavior that I'm not sure is a Vue specific bug or desired behavior. What happens is that I have a method being called on @input to trigger searches, this works nicely, however, when the input looses focus that method is also being called. This is very weird.
Metadata
Metadata
Assignees
Labels
No labels