Hello everybody,
I have a question and maybe someone can help me. Because there is no possibility to hide the virtual keyboard on a mobile device if a textbox gets the focus, I implemented a inputfield as a code component, where the keyboard is hidden when the user clicks in the textinputfield.
But I need the possibility to set the focus to that code component (textfield) automatically.
This is currently not working.
Any ideas, any support is highly welcome.
BR Thomas
P.S. if someone has an idea how to hide the virtual keyboard on tablets or mobilphone, highly appreciated!
Thanks for your hint; i could solve my issues with your proposal
Hi cchannon,
thanks for your feedback. I´m not really familiar with programming typescript and code components, but I think I understood your proposal and I will check. Maybe it is ok, if I come back to you, if I have any further problems 😉
Thanks!
BR Thomas
I would create a boolean input value in the codecomponent - hasFocus. When you want to programmatically set focus to your control from in the app, just change hasFocus to True, then in your code component you will get a refresh of the inputs. If hasFocus == true, then setFocus with your Js/Ts/React/whatever you're using.
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
65
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1