ElemeFE / ElemeFE/element

[Feature Request] Uploader Support for Folder selection with webkitdirectory attribute

Open
#22,832 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component
Yes

### Component Name
el-upload

### Description
This has been mentioned in a couple cases in the past:
https://github.com/ElemeFE/element/issues/13289
https://github.com/ElemeFE/element/issues/14026

But since then it looks like this is in the draft spec: https://wicg.github.io/entries-api/#dom-htmlinputelement-webkitentries
It also seems like this feature has support across most browsers: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory

Maybe we could revisit this as it seems like it has become more standardized?

It seems the component already supports multiple files, it would be nice if the multi-file selection could be driven by selecting a folder.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.