Skip to content
Discussion options

You must be logged in to vote

After reading the html number input mdn, maybe we should have a prop to control this. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/number#max
And let it fail constraint validation like native controls do. I'll bring it up with the team.

For now though, you should be able to handle this by not setting the min/max, use a description to tell people about it, and implement your own validation for it (see link to Forms guide)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arzatskis
Comment options

Answer selected by arzatskis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants