Closed Ruchi-Sinha closed 5 years ago
Figured this one out. Error: Object doesn't support property or method 'set' is coming because IE 11 doesnot support formData.set() so changed it to formData.append() in all the files of angular-material-fileupload and it started working.
bro @Ruchi-Sinha thanks for this you saved me a lot of time with this one.
bro @Ruchi-Sinha thanks for this you saved me a lot of time with this one.
hoi
HTML: <input id="singleFile" type="file" [fileUploadInputFor]= "fileUploadQueue"/> <mat-file-upload-queue #fileUploadQueue [fileAlias]="'file'" [httpUrl]="'http://localhost:8080/api'">--> <mat-file-upload [file]="file" [id]="i" *ngFor="let file of fileUploadQueue.files; let i = index">
This is working fine in Chrome but when I try this in IE 11 the upload icon and Upload All button both throw error:
ERROR TypeError: Object doesn't support property or method 'set' ERROR CONTEXT [object Object]