There is no such need to create directive. You can do it by just below code.
<ion-input #myInput (keyup.enter)="myInput.focusNext()"></ion-input>
Just as simple as that!
There is no such need to create directive. You can do it by just below code.
<ion-input #myInput (keyup.enter)="myInput.focusNext()"></ion-input>
Just as simple as that!