Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add propType 'step" for Number validation. #151

Open
itsjop opened this issue Jan 4, 2019 · 1 comment
Open

Add propType 'step" for Number validation. #151

itsjop opened this issue Jan 4, 2019 · 1 comment

Comments

@itsjop
Copy link

itsjop commented Jan 4, 2019

Currently, there is no support for anything other than integers on number fields, for instances such as currency.

image

This could be solved by adding the 'step' propType to the blacklist, so that smaller values can be passed, such as .01.

@hi-hai
Copy link

hi-hai commented May 28, 2021

Can't agree more. The step prop should be supported for number type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants