Skip to content
New issue

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

PasswordInput Component console error: Warning: React does not recognize the withErrorStyles prop on a DOM element. #6348

Closed
1 of 2 tasks
tanihiroki opened this issue Jun 6, 2024 · 1 comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@tanihiroki
Copy link

tanihiroki commented Jun 6, 2024

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?

7.10.1

What package has an issue?

@mantine/core

What framework do you use?

Vite

In which browsers you can reproduce the issue?

All

Describe the bug

I set the withErrorStyle prop in the Mantine PasswordInput component, but it is not reflected.
and console error

Warning: React does not recognize the `withErrorStyles` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `witherrorstyles` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

If possible, include a link to a codesandbox with a minimal reproduction

codesandbox

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
rtivital added a commit that referenced this issue Jun 13, 2024
@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Jun 13, 2024
@rtivital
Copy link
Member

Fixed in 7.10.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

2 participants