Topic: Warning in console brcause of mdb-ract-input-mask plugin
No warninigs in console
Warning: React does not recognize the inputRef
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase inputref
instead. If you accidentally passed it from a parent component, remove it from the DOM element.
screenshot of warning
violett3 answered a year ago
As i know react expects props that it recognizes, and it provides warnings when it encounters unrecognized props to help developers identify potential issues. In this case, React is informing you that inputRef is not a recognized prop for the specific DOM element you are using.
Safin pro premium priority commented a year ago
Yes, that's right. But the problem is that I am not using either inputRef or inputref. This is used inside the mdb-react-input-mask component and I have no control over it.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 6.1.0
- Device: desktop machine
- Browser: google chrome
- OS: windows 10, React 18.2.0
- Provided sample code: No
- Provided link: No
mlazaru staff commented 2 years ago
Thanks for the report, I'll add a task to fix it.