palantir/blueprint

FileInput should support "directory" prop

Open

#3,126 opened on 2018年11月5日

GitHub で見る
 (7 comments) (1 reaction) (0 assignees)TypeScript (2,167 forks)batch import
P3Package: coreType: feature requesthelp wanted

Repository metrics

Stars
 (20,263 stars)
PR merge metrics
 (平均マージ 43d 10h) (30d で 27 merged PRs)

説明

Environment

  • Package version(s): not applicable
  • Browser and OS versions: not applicable

Feature request

FileInput does not support mozdirectory, directory, webkitdirectory or nwdirectory.

Per https://github.com/facebook/react/issues/3468#issuecomment-328197124 React does not support this specifically but the props can be added.

This feature allows selecting a directory itself vs files inside a directory.

Examples

Instead of having to define all 4 props above, directory could be used to add all at once.

コントリビューターガイド