Hello. I have single page form with some input fields. I want to submit form when i press “go” button on mobile keyboaord. There is any way?
you can try like this
(keyup.enter)="handleLogin()"
Hope it will work fine.
Thanks
1 Like
Ah, of course! Thanks @flycoders_sourav
Do not forget to set the “enterkeyhint=go” If you also want to show the “go” button:
<ion-input enterkeyhint="go" (keyup.enter)="login()"></ion-input>
Check out their blog post about that: https://ionicframework.com/blog/keyboard-improvements-for-ionic-apps/