From 92d43e3de2de56d68e519c303956936ae4bc4a5e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 11 Nov 2025 12:02:00 +0000 Subject: [PATCH 1/3] Initial plan From bdc776a2d5aa9985fa1ab1a1f73cdd37980dddb1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 11 Nov 2025 12:11:58 +0000 Subject: [PATCH 2/3] Fix IgxDateRangePicker type compatibility with strict type checks Co-authored-by: ddaribo <35433937+ddaribo@users.noreply.github.com> --- .../src/lib/date-range-picker/date-range-picker.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts b/projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts index 46347ae67c4..27ef08287fc 100644 --- a/projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts +++ b/projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts @@ -871,8 +871,8 @@ export class IgxDateRangePickerComponent extends PickerBaseDirective } /** @hidden @internal */ - public getEditElement(): HTMLInputElement | undefined { - return this.inputDirective?.nativeElement; + public getEditElement(): HTMLInputElement { + return this.inputDirective.nativeElement; } protected onStatusChanged = () => { From 65ffcbecdcfc1ce6d2a37c5f4a216d99e50c4fd2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 11 Nov 2025 12:16:50 +0000 Subject: [PATCH 3/3] Use non-null assertion operator for clarity Co-authored-by: ddaribo <35433937+ddaribo@users.noreply.github.com> --- .../src/lib/date-range-picker/date-range-picker.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts b/projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts index 27ef08287fc..eb1ef6fb179 100644 --- a/projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts +++ b/projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.ts @@ -872,7 +872,7 @@ export class IgxDateRangePickerComponent extends PickerBaseDirective /** @hidden @internal */ public getEditElement(): HTMLInputElement { - return this.inputDirective.nativeElement; + return this.inputDirective!.nativeElement; } protected onStatusChanged = () => {