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

Wrap around when reaching max/min #105

Open
willbee28 opened this issue Dec 28, 2018 · 0 comments
Open

Wrap around when reaching max/min #105

willbee28 opened this issue Dec 28, 2018 · 0 comments

Comments

@willbee28
Copy link

I would really like it if there was some prop or some way to make the numeric input wrap around when going over the max or under the min. such as with min=0 and max=100, if the up was clicked at 100, it'd go back to 0. You can implement this manually with the onChange handler, but it is not clean, since the onChange is triggered on each number change, if I start to type 1900, the first 190 will trigger and it go down to 1.

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

1 participant