UUI
UUI copied to clipboard
[NumericInput]: add support of 'any' value for step props
Now
Now step props only accept number values, but according to the specification it also can assept 'any' value - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number#step
To Do
- Change step props type to accept 'any' value, probably we should use type from native numeric input inteface.
- Add support of any value inside NumericInput handlers, like handleArrowKeyDown. Let's assume that if 'any' value provided we still use '1' step value in this handlers.
- Add 'any' step value to the PE, to be able to test and demo this behavior.
Hi @AlekseyManetov, I’d like to work on this issue. I will add support for step="any" to NumericInput as per the HTML spec and update the related handlers and typings. Please assign this to me if it’s still available. Thanks!