Topic: mdb-file-upload plugin not getting multiple selected files in a getInputFiles property
                  
                  ramesh123456
                  free
                  asked 3 years ago
                
Expected behavior
*getInputFiles* property should return multiple files in array if multiple is set to true
Actual behavior
getInputFiles returning only one  files inside array
Resources (screenshots, code snippets etc.)
  console.log(files)} 
              multiple
              mainError={"something went wrong"}
              ref={this.props?.setRef} 
              acceptedExtensions={this.props?.accept} 
   />
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Opened
Specification of the issue
              - ForumUser: Free
 - Premium support: No
 - Technology: MDB React
 - MDB Version: MDB5 2.4.0
 - Device: laptop
 - Browser: chrome
 - OS: windows
 - Provided sample code: No
 - Provided link: No
 
Wojciech Staniszewski staff commented 3 years ago
Could you paste the whole code with
MDBFileUpload? It looks like something is missing.