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)
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.
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 lowercaseisphone
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)