Closed sanatani9 closed 6 years ago
I guess its a new feature of Dropzone. I only support latest version for Angular 5. Is there a good reson why you can not update to Angular 5?
project is almost finished and ready to launch, so can't take any risk to updating to angular 5 at this stage. is there any patch to get this working?
I can make a new 4.x release later today or at the latest tomorrow with updated support for 5.2 dropzone.
There is now 4.7.0 out that has the interface updated to have the new chunking stuff.
Thank you, this fixed my error
` import { DropzoneModule } from 'ngx-dropzone-wrapper'; import { DropzoneConfigInterface,DropzoneComponent } from 'ngx-dropzone-wrapper';
const DROPZONE_CONFIG_PROD: DropzoneConfigInterface = { dictRemoveFileConfirmation: "Are you sure you want to remove this?", // Change this to your upload POST address: url: environment.apiurl+'/project/driveupload', maxFilesize: 300, method: 'post', acceptedFiles: '*', headers:{'Cache-Control': null, 'X-Requested-With': null}, paramName: 'media[]', addRemoveLinks: true, createImageThumbnails: true, chunking: true, };
this is my sample code, i want to set upload file in chunk as documented here:
http://www.dropzonejs.com/#config-chunking
but i am getting error when i set value for chunking.
this is error which i am getting:
i am using "ngx-dropzone-wrapper : 4.6.8" version.
Can someone direct me how can i solve this error?