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
The value of number input is changeable even if the readOnly prop is set, by clicking on the controls or by arrow key press
readOnly
5.7.2
https://codesandbox.io/s/readonly-numberinput-6bbtlt?file=/src/App.js:286-294
Yes
manually check if readOnly prop is set like already done for disabled prop
disabled
The text was updated successfully, but these errors were encountered:
[@mantine/core] NumberInput : Fix readOnly prop is ignored (mantinede…
52ed131
…v#2955)
Fixed in 5.8.2
Sorry, something went wrong.
No branches or pull requests
What package has an issue
@mantine/core
Describe the bug
The value of number input is changeable even if the
readOnly
prop is set, byclicking on the controls
or by arrow key press
What version of @mantine/hooks page do you have in package.json?
5.7.2
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/readonly-numberinput-6bbtlt?file=/src/App.js:286-294
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
manually check if
readOnly
prop is set like already done fordisabled
propThe text was updated successfully, but these errors were encountered: