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

useFileDialog: enable uploading a directory instead of files #3441

Closed
4 tasks done
JakobMiksch opened this issue Sep 29, 2023 · 0 comments · Fixed by #3513
Closed
4 tasks done

useFileDialog: enable uploading a directory instead of files #3441

JakobMiksch opened this issue Sep 29, 2023 · 0 comments · Fixed by #3513
Labels
enhancement New feature or request has pr

Comments

@JakobMiksch
Copy link

JakobMiksch commented Sep 29, 2023

Clear and concise description of the problem

I would like to be able to select a whole directory and not only single/multiple files when using useFileDialog

Suggested solution

useFileDialog could add the HTML attribute webkitdirectory to its settings which enables the capability to upload a directory.

See docs in MDN for details.

Alternative

No response

Additional context

No response

Validations

@JakobMiksch JakobMiksch added the enhancement New feature or request label Sep 29, 2023
@JakobMiksch JakobMiksch changed the title useFileDialog: enable uploading directories useFileDialog: enable uploading a directory instead of files Sep 29, 2023
@Alfred-Skyblue Alfred-Skyblue linked a pull request Oct 31, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request has pr
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants