UUI icon indicating copy to clipboard operation
UUI copied to clipboard

[NumericInput]: add support of 'any' value for step props

Open AlekseyManetov opened this issue 2 years ago • 1 comments

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.

AlekseyManetov avatar Oct 30 '24 12:10 AlekseyManetov

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!

akshayhat avatar Jan 05 '26 09:01 akshayhat