We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"@mantine/core": "7.10.2" , "@mantine/hooks": "7.10.2"
@mantine/core
Vite
Other, I will specify in the bug description
When the value of NumberInput in a Controlled State is bigger then the Save Int Limit, the value changes on Focus Los to the next safe Integer
NumberInput
This Happens since i updated to the Newest Version I have 2 Sandboxes for each version. The issue only occurs in the latest version
Best way to Reproduce is to copy and paste a Discord ID in the Field or Just a bunch of numbers to get over the Int Limit
Tested In Vivaldi(Chrome) and Codesandbox, but i don't think this is relevant in this case
No response
The text was updated successfully, but these errors were encountered:
@M4X809 If you expect larger numbers, you can use a TextInput with type="number" as follows:
<TextInput value={val} type="number" onChange={(event) => setVal(event.currentTarget.value)} />
Sorry, something went wrong.
[@mantine/core] NumberInput: Fix incorrect handling of numbers larger…
0f66e88
… than max safe integer on blur (#6407)
Fixed in 7.11.1
No branches or pull requests
Dependencies check up
What version of @mantine/* packages do you have in package.json?
"@mantine/core": "7.10.2" , "@mantine/hooks": "7.10.2"
What package has an issue?
@mantine/core
What framework do you use?
Vite
In which browsers you can reproduce the issue?
Other, I will specify in the bug description
Describe the bug
When the value of
NumberInput
in a Controlled State is bigger then the Save Int Limit, the value changes on Focus Los to the next safe IntegerThis Happens since i updated to the Newest Version
I have 2 Sandboxes for each version. The issue only occurs in the latest version
Best way to Reproduce is to copy and paste a Discord ID in the Field or Just a bunch of numbers to get over the Int Limit
Browser
Tested In Vivaldi(Chrome) and Codesandbox, but i don't think this is relevant in this case
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service
The text was updated successfully, but these errors were encountered: