This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
autocomplete: uncalled-for evaluation of md-items on item select #10185
Open
Description
Actual Behavior:
What is the issue? *
Withmd-no-cache="true"
: when an item from the dropdown list is selected with the mouse pointer an unnecessary call to the search function is made. This is wasteful especially when using web services with usage limits and may also disrupt the program logic.What is the expected behaviour?
It should behave in the same way as when the item is selected with the keyboard (that is no call to the search function).
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
http://codepen.io/exchsac/pen/BQgypR
Angular Versions: *
Angular Version:
>=1.5.8 <1.6.0Angular Material Version:
1.1.1, 1.1.0
Additional Information:
Browser Type:
Chrome, Firefox, Safari