Merge branch 'feature/SUPPORT-8381_file_upload' into test/SUPPORT-8381_file_upload_test

This commit is contained in:
Alexandr Shalaginov 2024-07-26 14:07:43 +03:00
commit cc90da6336

View file

@ -207,4 +207,14 @@ export class ErvuFileUpload extends InputControl {
setValue(value: any): any {
throw new UnsupportedOperationError("Unsupported operation");
}
@Visible()
public reset() {
//don't use super because there is no ngModel here
this.uploader.clearQueue();
this.isDropZoneVisible = true;
this.isFilesListVisible = true;
this.isProgressBarVisible = false;
this.cd.markForCheck();
}
}