-
-
Notifications
You must be signed in to change notification settings - Fork 902
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
Change event is being called twice when using custom search #2274
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🎆 |
up |
nothing here? |
This is caused by using
same name as default HTML |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Change event is being called twice when using custom search
Reproducbile example
Example: https://stackblitz.com/edit/angular-6bd5zv?file=src%2Ftemplate-search-example.component.html
Error: Notice that in the console it is possible to see the change being executed twice
To Reproduce
To view the error just filter an element and then select one of the filtered elements, for some reason it fires the change event twice instead of once.
Note: sometimes it doesn't happen the first time, you must redo the filter and select a filtered element again to see the change event being executed twice.
Note: this does not occur when we are not using the custom search
Expected behavior
The correct thing to happen in this scenario is that the change event was executed only once
Desktop (please complete the following information):
GIF
The text was updated successfully, but these errors were encountered: