How to handle 'done' button on an Android keyboard app with AngularJS/Ionic?

I’m creating an hybrid mobile app using AngularJS, Cordova, and Ionic framework.

Here is an Android 5.0 keyboard. Take a look at the blue button in the bottom-right corner.

I’d like to do 2 things:

  • Control which “type” of button displays (sometimes it’s a “next” button, a “done” button, or a “search” button. The icon changes.)
  • Control the behaviour of this button. For example, I’m signin up and typing my name in a first fied. In my case, the default behaviour of the keyboard button is to submit the form instead of going to the next field. I’d like to control this button to go to the next field.

All topics I found somewhere else were about native Android app with Java code. Thanks!

  • Button Control - No possible at the moment with out writing some native code. There has been some requests to have this added to the ionic-keyboard plugin for iOS as well.

You may want to open an issue and request this feature to the plugin.

  • Behaviour. This goes along the same lines as the button control.

Has there been an update on this issue?

Button Control - No possible at the moment with out writing some native code. There has been some requests to have this added to the ionic-keyboard plugin for iOS as well.

Not yet, it’s not really a high priority at the moment. If you’re up for it, you could make a PR and add it to the keyboard plugin.

That would be awesome !

Hi, any updates on this one?

Thank you!

Same…any updates on this issue?

Hello, I have solution for you.

wrap your input with form tag and add (submit)=“function()” and then done button will work as submit.

let me know if this help?