Hi Kabe,
The reported issue is not related with the diagram and it is
due to uploader component. We cannot upload file with same name in the uploader
component which is used to load the diagram. However, you have the option to
clear the previously uploaded file by utilizing the clearAll method of
the uploader component, to upload the same file. Please find the sample and
code example below for reference.
|
this.diagram.loadDiagram((event.target as
FileReader).result.toString());
let fileUploader = (document.getElementById('fileupload')
as any).ej2_instances[0];
fileUploader.clearAll();
|
Sample: Ibzdts
(forked) - StackBlitz
Regards,
Sivaranjith