The problem
I want a date mask in the form of DD/MM/YYYY with a numeric input on the web.

When I fill in 21 my mask function makes it 21/ because of the format but the textinput can't parse because it is not a numeric value anymore.

Code
<TextInputWithMask
value={formattedValue}
keyboardType={'numeric'}
placeholder={inputFormat}
/>
How to reproduce
Expected behavior
Use the inputmode for the keyboardType instead of editing the type itself to be more like React Native
https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
Environment (include versions). Did this work in previous versions?
- React Native for Web (version): 0.13.7
- React (version): not relevant
- Browser: Chrome
The problem

I want a date mask in the form of DD/MM/YYYY with a numeric input on the web.
When I fill in 21 my mask function makes it 21/ because of the format but the textinput can't parse because it is not a numeric value anymore.
Code
How to reproduce
react-native-web/packages/react-native-web/src/exports/TextInput/index.js
Line 164 in 7ef0701
Expected behavior
Use the inputmode for the keyboardType instead of editing the type itself to be more like React Native
https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
Environment (include versions). Did this work in previous versions?