Topic: Add React File input (MDBFileInput) to a form
I cannot manage to add a file input to one of my existing form. It seems that the component "MDBFileInput" contains a form element within producing the following error message:
Warning: validateDOMNesting(...): <form> cannot appear as a descendant of <form>.
Please advise. Many thanks for your time.
Yes indeed, it is made as an input wrapped inside the tag. It obviously needs to be refactored then.
Thank you for posting the problem, we will handle it as soon as possible.
- User: Free
- Premium support: No
- Technology: React
- MDB Version: 4.8.4
- Device: PC
- Browser: chrome
- OS: windows 10
- Provided sample code: No
- Provided link: No