☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Why is bokeh FileInput limited to single selection

Community Support
ThomasB
ThomasB

Is there a technical reason behind the fact that bokeh’s FileInput-widget is limited to a single selection?
As far as I know HTML5 and JS have the option to set a property
multiple="multiple".
However, in
bokeh/bokehjs/src/lib/models/widgets/file_input.ts (branch: master)
I find in line 19:
this.dialogEl.multiple = false

I can only guess (according to my TS/JS competence) that this is hard coding the single file selection limitation. Other frameworks, like dash allow for setting the “multiple” property in Python.

I need the user to upload up to 50 Files for the analysis of a single measurement, this limitation is a show-stopper for that application.

⌁   Link to post
Bryan
Bryan

my guess here is that it’s just the very bare minimum implementation.

This is exactly correct. Happy to discuss potential improvements on the tracker (especially with anyone who can help collaborate to make an implementation be ready faster).

⌁   Link to post

End of archived discussion · Replies are disabled