TextBox - Enter - keyboard

Is there a way to make sure that the keyboard on the screen is hidden after clicking enter in the textbox?
Ondrej

You will need to download an extension.

blocks (4)

1 Like

image

Edit: didn't realize you said "pressed enter." Follow Gordon's blocks.

1 Like

Note that this extension doesn't work with multiline textboxes

2 Likes

Thank you very much !
Ondrej

This doesn't seem to work in the companion.


It doesn't work as an apk either.

Can anyone help?

https://ai2.appinventor.mit.edu/reference/components/userinterface.html#TextBox

If you use a multi line textbox you can test for \n in the text changed event and hide the keyboard.

No extensions needed, because of new functionality in AI2