Below is a screenshot of the content i am working on. The box to the right of the word value is a TextInput. It is linked to a string variable. That variable it is linked to changes depending on the choice from the Field box. Reguardless the mapped value will be a string. Some of the fields are strings and should be edited with the alphanumeric keyboard. However some of the values are basic numbers that are stored as strings and i would like to be able to edit them using the numeric keyboard.
Is there anyway to dynamically change the keyboard that pops up from this this TextInput box?
Or do i need to do something like swapping out the widget with a NumericInput using content load and the value of field? Im trying to avoid this route because then i need to convert the strings back and for REALs.
I had run into this same problem when it came to the password widget. I ended up making my own numeric password widget using the WDTC to solve this as B&R doesn’t have a solution for this.
I think alternatively you could character restrict all letters and symbols on the alpha numeric keyboard so that the user can’t input them. I haven’t tried it, but might work.
For now i have the issue on hold and am still just using the full keyboard and the operator needs to use the number keys at the top. Long term im probably going to have a textinput and numeric input box. then depending on what field i will hide the one that isnt used. Technically i might just make a custom widget that alternates between the 2 fields the same way.