Topic: How can i access the file value in MDBFileInput after choosing a file?
Expected behavior
Actual behavior
Resources (screenshots, code snippets etc.)
Jakub Chmura staff premium answered 5 years ago
Hi @Manamapps,
Try to use getValue
prop like this:
<MDBInputFile getValue={this.fileInputHandler} />
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.23.1
- Device: desktop
- Browser: chrome
- OS: windows 10
- Provided sample code: No
- Provided link: No