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
I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
7.9.0
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
The NumberInput component incorrectly allows negative numbers despite setting the allowNegative attribute. When clicking the down arrow, it correctly reaches 0, but subsequent clicks result in the UI incrementing while the form value, managed by useForm, continues to decrement. I have tested this with both controlled and uncontrolled forms. I am not sure when this issue first started occurring, but I noticed it after upgrading to the latest version of both the core package and the forms package.
mantine.bug.mov
If possible, include a link to a codesandbox with a minimal reproduction
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.9.0
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
The
NumberInput
component incorrectly allows negative numbers despite setting the allowNegative attribute. When clicking the down arrow, it correctly reaches 0, but subsequent clicks result in the UI incrementing while the form value, managed byuseForm
, continues to decrement. I have tested this with both controlled and uncontrolled forms. I am not sure when this issue first started occurring, but I noticed it after upgrading to the latest version of both the core package and the forms package.mantine.bug.mov
If possible, include a link to a codesandbox with a minimal reproduction
https://stackblitz.com/edit/stackblitz-starters-a4f4lm?file=app%2Fpage.tsx
Possible fix
No response
Self-service
The text was updated successfully, but these errors were encountered: