How do you get the iOS Keyboard with form controls?


I just learned to use input type="email" to get the email keyboard. But there is also an iOS keyboard with form controls at the top, something like:

< >                 done

How do I get that keyboard to show up? I’d like to offer the done option to hide the keyboard.


Hello @mixofia

In order to make the done option show up, put this code in your app.js: ($ionicPlatform) {
    $ionicPlatform.ready(function () {
        // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
        // for form inputs)
        if (window.cordova && window.cordova.plugins.Keyboard) {
        if (window.StatusBar) {
            // org.apache.cordova.statusbar requixred

This line:


is the one that you really want to care about, set to true to hide the done option :smile:


that does the trick. thanks!


You’re welcome @mixofia :smile: