How can i access the file value in MDBFileInput after choosi


Topic: How can i access the file value in MDBFileInput after choosing a file?

Manamapps asked 5 years ago

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


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
  • 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