Merge branch 'feature/SUPPORT-8381_file_upload' into test/SUPPORT-8381_file_upload_test
This commit is contained in:
commit
cc90da6336
1 changed files with 10 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue