Topic: file upload - how to set the inital files in preview when multiple is set

Yiannis Kyriazidis free asked 2 years ago

I am using the file upload plugin with multiple files allowed for upload . When I save the files to the server and then refresh the page how do i show the files stored in the preview.

The attribute data-mdb-default-value works if there is a single file but how do I configure to show in preview all files that have been stored on the server ?

Dawid Wajszczuk staff answered 2 years ago


Currently we don't have support for multiple files set as default. You can only set one file with data-mdb-default-value attribute.

Keep coding,

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: windows desktop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No