I'm trying to create a form which collects a single numeric value, and would like to make the process of filling it in as easy as possible on mobile browsers.
Mobile Safari supports the use of inputmode="numeric" or inputmode="decimal" to show a number-pad style keyboard when the field is focused. It also supports the use of enterkeyhint to select the text of the 'next/done/go/enter' button ("Go" would be the most appropriate in my case)... However, it doesn't appear that these can be used together: Setting a numeric inputmode results in the enter button displaying the default 'Done' appearance.
I can't think of a reason this behaviour should be by design. Is there a workaround or something I'm missing?
<input type="text" inputmode="numeric" placeholder="I show a numeric keyboard with a default 'done' button"/>
<input type="text" enterkeyhint="Go" placeholder="I show a text keyboard with a 'Go' button"/>
<input type="text" inputmode="numeric" enterkeyhint="Go" placeholder="I show a numeric keyboard, but still with a default 'done' button"/>
