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


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

Safin pro premium priority asked a 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


mlazaru staff commented a year ago

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


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.


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
  • 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