Topic: Warning in console brcause of mdb-ract-input-mask plugin

Safin priority asked 10 months 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


Mateusz Lazaru staff commented 10 months ago

Thanks for the report, I'll add a task to fix it.


violett3 free answered 9 months 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 9 months 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.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • 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