As Mohammad Nadr commentes, there is a typo, i cant reply due to lack of reputation point
Here is the working version:
<Input type="text" inputMode="numeric" />