Skip to content

开启文件夹上传时就不能多选文件上传,可以解决吗? #522

Open

Description

@yblsy

我想既可以支持多个文件夹上传,也可以支持多个文件的选中上传,可以做到吗?

Activity

  1. yarapolana commented on May 10, 2024

    @yarapolana

    I believe you would have to set the props to multiple: true, about uploading folders not sure if this can be done with an input component but you could try adding the props webkitdirectory:"" directory:""
    see https://stackoverflow.com/questions/22041207/is-it-possible-to-upload-a-folder-using-html-form-php-script
    just note that directory uploading is supported in most modern browsers only.

  2. linhf123 commented on Sep 20, 2025

    @linhf123

    期望支持拖拽上传文件夹,可以单选文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions