put in new if select file then no show file is not select
This commit is contained in:
@@ -134,7 +134,7 @@ onFileSelected(event: any) {
|
||||
if (file) {
|
||||
this.file = file;
|
||||
//this.messageService.add({ severity: 'info', summary: 'Success', detail: 'File Uploaded!' });
|
||||
// this.courseForm.patchValue({ attachmenFile: this.file.name });
|
||||
this.adminuserForm.patchValue({ image: this.file.name });
|
||||
this.fileName = file.name;
|
||||
this.subChanged$.next(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user