Unsolved No submit button on Android virtual keyboard when using TextArea
Hello, where is no submit button on Android virtual keyboard when using TextArea. It is possible to show submit button on the Android virtual keyboard some how? I tried to use inputMethodHints, but unsuccessfully.
Are you using QtQuick.Controls 1 or 2?
I think (haven't tested) that by default you will get submit button for TextField, but for TextArea you will get the return button instead (because TextArea is multi-line).
@sierdzio I am using QtQuick.Controls 2. Yes there is exactly as you say about the TextField. Using TextArea where is enter button instead of submit. I need a submit button for the TextArea to submit the multi-line text and close the virtual keyboard.
It may be necessary to go use the JNI in this case, not sure, sorry :(
@m.kuncevicius I'm placing a button besides the textarea
in the meantime have changed the order of the buttons: placed done on top to make it easier to reach under some situations with small screens and large virtual keyboards hiding much space
@ekkescorner thank you for the idea how to walk around the problem. In my case I just replaced TextArea with the TextField. However your solution is better.
@m.kuncevicius I also have a special textfield if only numeric digits allowed where on iOS no Button is available. In this case I add a small 'OK' Button besides the TextField.
and just working on a special Password Field with an eye to switch visibility on / off
will blog about