During testing a package which makes use of the autocomplete I noticed the search event emitter was not called with the latest changes made to the query property of the AutoCompleteComponent.
To Reproduce
Steps to reproduce the behavior:
Add the autocomplete component to your page
Add an event listener for the search event
Input a character in the autocomplete control (ie. "a")
Your search event listener will be triggered with the incorrect value
Expected behavior
The search event listener is called with value "a" for the $event parameter.
Describe the bug
During testing a package which makes use of the autocomplete I noticed the
search
event emitter was not called with the latest changes made to thequery
property of the AutoCompleteComponent.To Reproduce
Steps to reproduce the behavior:
search
eventsearch
event listener will be triggered with the incorrect valueExpected behavior
The
search
event listener is called with value "a" for the $event parameter.Screenshots
N.A.
OS (please complete the following information):
Additional context
Add any other context about the problem here.