Topic: Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
Mahammad Chharchhodawala asked 5 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 premium answered 5 years ago
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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.22.0
- Device: Laptop
- Browser: Chrome
- OS: Linux
- Provided sample code: No
- Provided link: No