How to have the Done button on the iOS keyboard?


#1

I have a form with some fields.
When I focus on one field like an input text, I want to see the “Done” button on the keyboard so that I can close the keyboard when finishing typing.

However I have nothing.
It’s very frustrating and non-intuitive to have to click outside to close the keyboard.

How to add it?

Thanks !


How to remove 'DONE' button upon the keyboard
#2

The solution was so simple.

Deleting this line in app.js:

cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);

#3

What for ionic 3 projects ?