Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 142239

IE 11 failed to create file object from byte array in Angular

$
0
0

Can anybody tell me why IE11 is throwing error In other browsers working only in IE getting error "object doesn't support this action"

let file = new File([files], newFileName, { type: Constants.FILECONTENTTYPE, lastModified: Date.now() });
                let uploadDocument = new UploadDocument();
                uploadDocument.fileName = newFileName;
                uploadDocument.fileItem = file;
                this.fileList = [];
                this.mergedFileList.forEach(fileItem => {
                    this.fileList.push(fileItem);
                });

Viewing all articles
Browse latest Browse all 142239

Trending Articles