You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a <NumberInput> component, input a single '-' and blur the field, the content becomes -9007199254740991. I'd expect it to either stay as '-', change into a 0, or revert to the previous valid numeric input.
Hm, I guess this is technically not a bug, but this seems like extremely unexpected behavior to have by default. It seems like this is clamping on blur to the default min/max values:
Description
When I create a
<NumberInput>
component, input a single '-' and blur the field, the content becomes -9007199254740991. I'd expect it to either stay as '-', change into a 0, or revert to the previous valid numeric input.Link to Reproduction
https://codesandbox.io/p/sandbox/goofy-currying-f8sw7q
Steps to reproduce
Chakra UI Version
2.8.2
Browser
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: