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.1
What package has an issue?
@mantine/core
What framework do you use?
create-react-app (CRA)
In which browsers you can reproduce the issue?
Chrome
Describe the bug
Summary
The behavior with leading zero while editing changed in v7, the field value changes before blur which is disturbing in some cases.
Case 1 : Change 100 to 200 by removing 1 and replacing by 2
v6: can remove only one character and replace it
v7: removing one character removes all leading zeros
Case 2 : Change 0.1 to 0.2 by removing 1 and replacing by 2
v6: can remove only 1 character and replace it with 2
v7: removing the 1 charater removes also the decimal separator
Case 3 : Typing 0123
v6: can type 0123 the value changes only on blur
v7: can't type 0123 the value changes while typing
All the gifs have been produced using the mantine.dev doc versions :
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.9.1
What package has an issue?
@mantine/core
What framework do you use?
create-react-app (CRA)
In which browsers you can reproduce the issue?
Chrome
Describe the bug
Summary
The behavior with leading zero while editing changed in v7, the field value changes before blur which is disturbing in some cases.
100
to200
by removing1
and replacing by2
v6: can remove only one character and replace it
v7: removing one character removes all leading zeros
Case 2 : Change
0.1
to0.2
by removing1
and replacing by2
v6: can remove only
1
character and replace it with2
v7: removing the
1
charater removes also the decimal separatorCase 3 : Typing
0123
v6: can type
0123
the value changes only on blurv7: can't type
0123
the value changes while typingAll the gifs have been produced using the mantine.dev doc versions :
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: