Topic: Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.

Mahammad Chharchhodawala free asked 4 years ago


Expected behavior should not display a warning

Actual behavior display Warning: validateDOMNesting(...): cannot appear as a descendant of

.

Resources (screenshots, code snippets etc.) <MDBInput label="Default unchecked" type="radio" id="radio1" />


Jakub Chmura staff answered 4 years ago


Hi @Mahammad Chharchhodawala,

I checked this component in our react free package and it works well for me.

Please delete node modules and reinstall your dependencies. Maybe it will work.

If u will have the same problem there please try to explain to me step by step how to reproduce this error and send me some screenshots of errors and code examples.

Best regards,

Kuba



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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.22.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Linux
  • Provided sample code: Yes
  • Provided link: No