Topic: Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
Mahammad Chharchhodawala
asked a year 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 a year 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
Answered
- User: Free
- Premium support: No
- Technology: React
- MDB Version: 4.22.0
- Device: Laptop
- Browser: Chrome
- OS: Linux
- Provided sample code: No
- Provided link: No