Open kjain1995 opened 7 years ago
Are you sure you are using the following syntax?
` <ng2-completer (keyup.enter) ="doSomething()"
`
Yes that's the syntax I tried using @oneinazillion
@oneinazillion ng2-completer
doesn't listen to keyup.enter
and therefore doesn't re-emit it.
I'm trying to fire a method when the enter key is pressed, however keyup.enter is not firing anything. keyup works, but it also is triggered by any other input in the textbox. Is there a way around this, or should I just check in the event if the keyup was triggered by the enter key?