mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#125 reset file value
This commit is contained in:
@@ -107,6 +107,8 @@ export class UploadButtonComponent {
|
||||
let files = $event.currentTarget.files;
|
||||
this.printFileInfo(files);
|
||||
this.uploadFiles(this.uploaddirectory, files);
|
||||
// reset the value of the input file
|
||||
$event.target.value = '';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -134,6 +136,8 @@ export class UploadButtonComponent {
|
||||
}
|
||||
);
|
||||
});
|
||||
// reset the value of the input file
|
||||
$event.target.value = '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user