How to enable backspace on autocomplete field in Angular

If you are using the material autocomplete field in your Angular project, you may have noticed that the backspace button does not trigger the search. Delete key is working but if you hit backspace autocomplete field returns value from cache.

To overcome this problem, you can add the following feature to your angular autocomplete field. In this way, the cache will be disabled.


Add a Comment

Your email address will not be published.