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

[FEATURE] Add a directory-selection widget #1605

Open
erezinman opened this issue Oct 1, 2020 · 3 comments
Open

[FEATURE] Add a directory-selection widget #1605

erezinman opened this issue Oct 1, 2020 · 3 comments
Labels
type: enhancement Minor feature or improvement to an existing feature

Comments

@erezinman
Copy link

Add a directory-uploading/selection support to widgets.
Specifically, you can add the webkitdirectory option to the FileInput class as an option. It is supported on all the major browsers quite some time.

@philippjfr philippjfr added the type: enhancement Minor feature or improvement to an existing feature label Oct 5, 2020
@philippjfr
Copy link
Member

Would be happy accepting a PR for a DirectoryInput widget.

@jbednar
Copy link
Member

jbednar commented Oct 5, 2020

Personally, I'd expect to see it as an option for FIleInput rather than as a new widget, but I guess either is fine.

@philippjfr
Copy link
Member

That cannot work, they will be distinct files each of which will be uploaded as a distinct base64 string and exposed as a list of bytes objects on the Python end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants