diff --git a/src/app/fyle/my-view-report/edit-report-name-popover/edit-report-name-popover.component.html b/src/app/fyle/my-view-report/edit-report-name-popover/edit-report-name-popover.component.html index 4a99b9b224..9bff23ad62 100644 --- a/src/app/fyle/my-view-report/edit-report-name-popover/edit-report-name-popover.component.html +++ b/src/app/fyle/my-view-report/edit-report-name-popover/edit-report-name-popover.component.html @@ -27,6 +27,7 @@ ; + constructor(private popoverController: PopoverController) {} - ngOnInit(): void {} + ngOnInit(): void { + setTimeout(() => { + this.reportNameInput.nativeElement.focus(); + }, 100); + } - closePopover() { + closePopover(): void { this.popoverController.dismiss(); } - saveReportName() { + saveReportName(): void { this.popoverController.dismiss({ reportName: this.reportName }); } }