I am developing an Android Native app or Samsung devices.
I have a Bootstrap 4 Input Control (called edt_LL_Filter) that has the “inputmode” attribute currently set as “text”. Next to that there are 2 radio buttons (ID# and Description) which are used to control an SQL filter based on the data entered in the Input Field. I know that setting the inputmode at design time will determine what Soft Keyboard is displayed when entering data into the Input Control.
If I select the ID# radio button, what I would like is for the “edt_LL_Filter’s” inputmode to change to decimal or numeric so it will display the telephone style Soft Keyboard. Then if I select the Description radio button, the inputmode would switch back to “text” and display the soft keyboard associated with that mode. Is this possible?
How can I dynamically/programatically control the Soft Keyboard being displayed at runtime? I have tried a number of suggestions from AppStuio’s ChatGPT but none of them worked. Any suggestions would be greatly appreciated.