base-ui icon indicating copy to clipboard operation
base-ui copied to clipboard

[number field] Implement `inputmode` for mobile keyboard support

Open mj12albert opened this issue 1 year ago • 1 comments

Raised in https://github.com/mui/material-ui/pull/36119#issuecomment-1678269343

The inputmode attribute hints to browsers for devices with software keyboards to determine which keyboard to provide when an input is focused. It should be returned by getInputProps().

References

  • https://css-tricks.com/everything-you-ever-wanted-to-know-about-inputmode/
  • https://react-spectrum.adobe.com/blog/how-we-internationalized-our-numberfield.html#mobile

mj12albert avatar Aug 17 '23 09:08 mj12albert

Manually test/benchmark first, we need to make sure the - and . characters are available

mj12albert avatar Sep 14 '23 09:09 mj12albert

This is supported by the new NumberField component.

michaldudak avatar Aug 02 '24 12:08 michaldudak