material
material copied to clipboard
Feature request: md-autocomplete support Secondary Action in custom template
I have a list item in autocomplete and I want to open a detail card of item by click an icon on the custom template. Please review file attached. Thanks.

Try changing ng-click="doSomething();" on your icon to ng-click="$event.preventDefault();doSomething();".
This should stop the default behavior of selecting the address when you click on the secondary icon.
But after that, when I do anything in new Card (in my case), the suggestion lists is disappear.