mui-x
mui-x copied to clipboard
[pickers] Use inputmode="tel"?
Duplicates
- [X] I have searched the existing issues
Latest version
- [X] I have tested the latest version
Summary 💡
It seems that we could improve the UX on the DateField on mobile. Per https://css-tricks.com/everything-you-ever-wanted-to-know-about-inputmode/, I propose that we use inputmode="tel", which would look like this:
Examples 🌈
https://mui.com/x/react-date-pickers/date-field/
Motivation 🔦
Better UX
Order ID 💳 (optional)
No response
I wonder if we can switch this value dynamically without having weird behaviors.
To get type="tel" for all sections except the full letter months.
EDIT: Seems to work great !
https://user-images.githubusercontent.com/3309670/191065368-ae5b5279-47b2-4a83-bfec-ab11c35e5904.mp4
The full letter month editing does not work at all for now but the keyboard is coherent :laughing: