Topic: Warning in console brcause of mdb-ract-input-mask plugin
Safin priority asked 1 year ago
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 free answered 1 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 priority commented 1 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
- ForumUser: Priority
- 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: Yes
- Provided link: No
Mateusz Lazaru staff commented 1 year ago
Thanks for the report, I'll add a task to fix it.