Topic: Issue with TableEditor after v2.0.0

drimaco free asked 2 years ago

Actual behavior

Using MDBTableEditor with a Modal throws an error:

React does not recognize the `getOpenState` prop on a DOM element

Maybe forgot to change getOpenState to setShow in v2.0.0 :) ?

And why MDBSideNav still uses getOpenState, not setShow?

Krzysztof Wilk staff answered 2 years ago


Thanks for reporting that. Of course, there should be setShow instead of getOpenState. We will correct it in the next release.

There were some problems with the MDBModal component and getOpenState old convention, so we had to correct them. Currently, there are no problems with the same thing in the MDBSideNav, but if there will be more questions about that - we will also correct it :)

Keep coding!

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 1.4.0
  • Device: PC
  • Browser: Chrome
  • OS: Chrome 96.0.4664.93 Win11
  • Provided sample code: No
  • Provided link: No