From 280610531d70bd36b22be67c27819f379bdc9f0f Mon Sep 17 00:00:00 2001 From: Mohaimen Hasan Date: Mon, 23 Nov 2026 13:15:42 +0600 Subject: [PATCH] HR Dashboard virtual Scrolling --- HRM.UI/ClientApp/src/app/app.module.ts | 4 +++- .../src/app/core-hr/achievement/achievement.component.ts | 2 +- .../core-hr-dashboard/core-hr-dashboard.component.html | 7 +++++-- .../core-hr-dashboard/core-hr-dashboard.component.ts | 5 +++-- .../extracurricular-activity.component.ts | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/HRM.UI/ClientApp/src/app/app.module.ts b/HRM.UI/ClientApp/src/app/app.module.ts index 9c87826..f09c274 100644 --- a/HRM.UI/ClientApp/src/app/app.module.ts +++ b/HRM.UI/ClientApp/src/app/app.module.ts @@ -104,7 +104,9 @@ import { EmpCommonInformationModule } from './ess/emp-common-information/EmpComm PDFModule, ExcelModule, ChartsModule, - ReactiveFormsModule, + // Hundreds of forms bind [(ngModel)] and formControlName together; Angular still supports it and + // only logs a deprecation warning. 'never' turns that console warning off — form behaviour is unchanged. + ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }), TreeViewModule, DialogsModule, HttpClientJsonpModule, diff --git a/HRM.UI/ClientApp/src/app/core-hr/achievement/achievement.component.ts b/HRM.UI/ClientApp/src/app/core-hr/achievement/achievement.component.ts index 749b6d4..33d7a56 100644 --- a/HRM.UI/ClientApp/src/app/core-hr/achievement/achievement.component.ts +++ b/HRM.UI/ClientApp/src/app/core-hr/achievement/achievement.component.ts @@ -6,7 +6,7 @@ import {EnumDynamicControlType, EnumDefaultValidatorType, BasicEntryFormControl} import { BasicMasterViewComponent } from 'src/app/form-builder/Basic-Master-View.component'; @Component({ - selector: 'app-allergy', + selector: 'app-achievement', template: '
', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, diff --git a/HRM.UI/ClientApp/src/app/core-hr/core-hr-dashboard/core-hr-dashboard/core-hr-dashboard.component.html b/HRM.UI/ClientApp/src/app/core-hr/core-hr-dashboard/core-hr-dashboard/core-hr-dashboard.component.html index e6f8850..6bc64fa 100644 --- a/HRM.UI/ClientApp/src/app/core-hr/core-hr-dashboard/core-hr-dashboard/core-hr-dashboard.component.html +++ b/HRM.UI/ClientApp/src/app/core-hr/core-hr-dashboard/core-hr-dashboard/core-hr-dashboard.component.html @@ -159,14 +159,14 @@ width="12%"> } - @if (selectedSubMenu === 'HeadCount' || selectedSubMenu === 'BloodGroup' || selectedSubMenu === 'Age') { - @@ -484,8 +484,11 @@ parentIdField="teamID" style="height: 350px"> --> @if (selectedView==='hierarchy') { +