put in new if select file then no show file is not select

This commit is contained in:
2025-09-10 22:13:24 +10:00
parent a6a2154d81
commit 4b85a90b71
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -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);
}