Hi Syncfusion team! How are you doing?
I'm trying to use 'File Source' implementation on Uploader so user can see previous uploaded files and delete them, but files are grouped and users can't select only one:
I've tried to mimic your implementation (https://ej2.syncfusion.com/javascript/documentation/uploader/file-source/):
var preloadFiles = [ { name: 'Nature', size: 500000, type: '.png' }, { name: 'TypeScript Succinctly', size: 12000, type: '.pdf' }, { name: 'ASP.NET Webhooks', size: 500000, type: '.docx' } ]; //Initialize the control by preload files var uploadObj = new ej.inputs.Uploader({
files: preloadFiles }); uploadObj.appendTo('#fileupload');
|
But with the same result:
I'm using EJ2 from CDN
<script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script>
What I'm doing wrong?