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

error after upgrade to react 18 #305

Open
romanown opened this issue Jan 2, 2023 · 1 comment
Open

error after upgrade to react 18 #305

romanown opened this issue Jan 2, 2023 · 1 comment

Comments

@romanown
Copy link

romanown commented Jan 2, 2023

after upgrade from react 17 to react 18.2.0 i have error
Warning: React does not recognize the isPhone prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase isphone instead. If you accidentally passed it from a parent component, remove it from the DOM element.
at input
at InputElement (/var/www/dev.local/desktop/node_modules/react-input-mask/lib/react-input-mask.development.js:497:30)

@romanown romanown changed the title upgrade to react 18 error after upgrade to react 18 Jan 2, 2023
@burningyouth
Copy link

Bump. I had a similar error, but with the maskPlaceholder. I suppose it's because mask component passes everything to the input, even props for an internal use only. If this is the case, then it should be avoided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants