gentle-policeman-89141
05/02/2025, 1:33 PM<input type="file"> in the shared components library:
packages/components/
src/
base/
button.tsx <- is the shared UI component that renders a clickable button (and, in the upload case, wraps a hidden file-input for picking files).
file-input.tsx
The doesn’t include the multiple attribute - so browsers only permit one file per selection - and the upload handler always uses files[0], ignoring any other selected files (which cant be selected anyway due to the missing 'multiple' attribute).
I’d like to know:
1) Is there an existing or planned configuration option in Botpress Webchat to enable multi‐file selection and batch uploads?
2) If not, would you recommend I apply a custom patch (adding multiple={true} on the input and looping over all event.target.files) until an official feature is released?
Are there any best-practice insights or upcoming roadmap items around multi-file upload support that we should be aware of?limited-pencil-78283
05/02/2025, 1:58 PMgentle-policeman-89141
05/02/2025, 2:25 PMlimited-pencil-78283
05/02/2025, 2:28 PMgentle-policeman-89141
05/02/2025, 2:30 PMgentle-policeman-89141
05/02/2025, 2:31 PMgentle-policeman-89141
05/02/2025, 2:36 PMplain-lifeguard-16679
05/02/2025, 5:52 PMlimited-pencil-78283
05/02/2025, 5:55 PMplain-lifeguard-16679
05/02/2025, 5:56 PMgentle-policeman-89141
05/02/2025, 8:53 PMplain-lifeguard-16679
05/02/2025, 8:54 PMgentle-policeman-89141
05/02/2025, 8:59 PMplain-lifeguard-16679
05/02/2025, 8:59 PMgentle-policeman-89141
05/02/2025, 9:06 PM