Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yblsy opened this issue Dec 12, 2023 · 1 comment
Open

Comments

@yblsy
Copy link

yblsy commented Dec 12, 2023

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

@yarapolana
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants