Open kochrt opened 1 year ago
I wouldn't advocate using type="number"
:
it adds some ungraceful stepper arrows inside the field, that can be removed only using some nonstandard CSS properties.
it would break the current keyboard navigation: up & down arrows are used to move between rows.
I'm not sure what should be put as step value: 1, 0.1, 0.01, 0.001 or something dynamic depending on point precision ?
Alternatives:
I'm wondering if it's possible to have this input be
type="number"
when it's referring to a number so keyboard keys (up & down) can be used to increment/decrement the value.I'd open a PR but I don't know under what conditions the value is a number.