epam / epam/UUI

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

Open
#2,590 1 comment 0 reactions 0 assignees View on GitHub
Contributor needed Good first issue improvement
Dominant language
TypeScript
Stars
247
Forks
78
Avg merge
14h 27m
Merged PRs (30d)
15

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.