Hello

I am trying to trigger a keydown event when the user navigated through the 
autocomplete options using the keyboard. 
My intention is that when the user hits the enter key on the autocomplete 
options a new page needs to be opened.
I tried using the md-selected-item-change of autcomplete ,  though this 
performs in the intended action , it opens a pop up blocker.

So i want to handle the event myself using the ng-keydown /ng-enter. 
When i give a ng-keydown event in the item template of the auto complete , 
i see that event is not triggered.   i tried using tabindex= 0 for getting 
focus on the intended div.

Here is the codepen for my dummy code.

https://codepen.io/mahita_mandy/pen/BbaRZa?editors=1011

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to