NumericTextBox should render inputmode=decimal out-of-the-box
This lets mobile devices with a virtual keyboard show the proper keyboard when the input is focused (that is, for numbers).
Posted on:30 Mar 2022 10:30
We will expose an InputMode parameter for the NumericTextBox, but will not set it automatically. The reasons are:
There are different possible valid values (e.g. decimal or numeric).
Some virtual keyboards do not include a minus character, which may be a problem.
If the device culture does not match the app culture, the decimal separator on the virtual keyboard may not match the one, which is expected by the component. This can be resolved in the future, but the other two considerations still remain.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.