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 multi-file selection to FileInput widget #9727

Closed
bruns01 opened this issue Feb 25, 2020 · 0 comments · Fixed by #9732
Closed

[FEATURE] Add multi-file selection to FileInput widget #9727

bruns01 opened this issue Feb 25, 2020 · 0 comments · Fixed by #9732

Comments

@bruns01
Copy link
Contributor

@bruns01 bruns01 commented Feb 25, 2020

The ISSUE:
The current version (bokeh 1.4, branch master) of the FileInput widget of bokeh only allows a single file to be selected by the user.
The underlying item in the browser comes with the option/property "multiple" in JS or HTML5, which is hard-coded to "False" in the bokeh-code.

The Problem:
For data analysis project in my laboratory I need to upload many tenth of files at a time, which is not manageable by single upload.
Hence the request (and a related PR) to add a working "multiple"-property and the respective option of multi-file selection to the FileInput widget.

Solution:
Adapt/extend the code of the currently implemented FileInput to support a "multiple"-property with the (switchable) capability to support the multi-file selection and provide the returned results as arrays instead of scalar values.

Background:
The issue was pre-discussed here in community support and here in the develeopment-forum.

possible Alternative:
The implementation of a seperate widget (MultiFileInput) was considered but rejected because of the inconsistency with usual HTML or JS input widgets of similar functionality.

@bruns01 bruns01 added the TRIAGE label Feb 25, 2020
@bruns01 bruns01 mentioned this issue Feb 25, 2020
2 tasks
@bryevdv bryevdv added this to the short-term milestone Feb 26, 2020
@bruns01 bruns01 mentioned this issue Feb 26, 2020
1 task
@mattpap mattpap removed this from the short-term milestone Mar 9, 2020
@mattpap mattpap added this to the next milestone Mar 9, 2020
@bryevdv bryevdv removed this from the next milestone Mar 11, 2020
@bryevdv bryevdv added this to the 2.0.1 milestone Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants