Thank you for your patience and checking in. The app that I'm working with is a simple form for checking and changing inventory status. I'm using a stock number input component to capture the SKU that the user is checking or changing the status of. On a mobile device, having the standard qwerty keyboard activate upon focusing on this input is cumbersome. Having the number pad keyboard activate would be much more user friendly.
This is what I'm seeing when inspecting the element:
<input id="SKU--0" autocomplete="off" placeholder="Enter value" inputmode="numeric" aria-roledescription="Number field" autocorrect="off" spellcheck="false" class="_vrlvt _2gurE" type="text" value="0">
My understanding is that if the
type="text" is changed to
type="number" the number pad keyboard will be activated. This is generally not a desirable default setting as the number pad keyboard does not provide a decimal, dash, or the ability to navigate to a normal keyboard. For this use case, however, the only input will always be numeric digits 0-9. Adding in a pattern attribute would also be helpful for having this format properly.
This script is executing as indicated by the note being seen in the log, but the attributes are not being applied.
I am attaching a screenshot of the app on a iOS mobile device. The number input that is in question is the one labeled MEMS#.
Thank you in advance for your help,