NumberInput clamping with `min` and `max` values does not work when `decimalScale` is set
Author: Zaya1101Created Sep 14, 2026Updated Sep 17, 2026
LabelsNeeds reproduction
Dependencies check up
- I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
9.6.1
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
All
Describe the bug
If the decimalScale prop on NumberInput is set to a value other than 0 (e.g. 2), the input will no longer clamp the values within the set min and max on blur.
I assume it may be related to values being treated as strings when decimalScale is set.
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service
- I would be willing to implement a fix for this issue
Source: mantinedev/mantine