Home > Enterprise >  React - File selector component that can manage VERY large file count selections
React - File selector component that can manage VERY large file count selections

Time:01-12

I'm looking for a component that can get a list of files from the user. It just needs to get the files, not upload. The uploading process is already implemented, it just needs a list of files. The component needs to fulfill the following requirements:

  • Restrictable to only directory selection
  • Supports drag and drop on top of selection via the file dialogue
  • Captures all selected files in a single callback, meaning just a single state update
    • The file list should also be accessible before uploading so that they can be used in a preview
  • Returns the webkitRelativePath for all files

The closest I've gotten to achieving this is with enter image description here

  • Related