Topic: Dropping several files adds only one preview
MarkoDev
free
asked 2 weeks ago
Dragging three images onto the upload area displays a single preview. I expected all accepted images to remain in the queue.
How should multiple mode be configured?
Mateusz Lazaru
staff
answered 1 week ago
Please test the same three small images through both the file picker and drag-and-drop. Note whether the callback reports three files but the preview shows one, or whether only one file reaches the callback. Those results identify different parts of the upload flow.
Enable multiple and check that maxFileQuantity is not set to one. Temporarily remove your controlled files value and custom preview wrapper. Please send the upload JSX, image sizes, and callback output from both tests so we can reproduce the queue behavior.
https://mdbootstrap.com/docs/react/plugins/file-upload/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 9.0.0
- Device: Desktop
- Browser: Edge
- OS: Windows 11
- Provided sample code: No
- Provided link: No