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

Manamapps free asked 4 years ago


Expected behavior

Actual behavior

Resources (screenshots, code snippets etc.)


Jakub Chmura staff answered 4 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

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