Call event/function on "Done"-press on keyboard?


#1

How can I set a event/function to call when “Done” is pressed on the keyboard?

I am trying to have an function to be called as soon as the user is finished typing an input and “Done” is pressed. Does Ionic have a quick fix for this?


#2

But a form around your input and add ngSubmit to it https://docs.angularjs.org/api/ng/directive/ngSubmit


#3

That did the trick. Thank you. :smile: