material icon indicating copy to clipboard operation
material copied to clipboard

Feature request: md-autocomplete support Secondary Action in custom template

Open tsdragon0404 opened this issue 11 years ago • 2 comments

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. untitled

tsdragon0404 avatar Oct 16 '15 17:10 tsdragon0404

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.

epelc avatar Oct 16 '15 19:10 epelc

But after that, when I do anything in new Card (in my case), the suggestion lists is disappear.

tsdragon0404 avatar Oct 23 '15 08:10 tsdragon0404