diff --git a/projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts b/projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts index 7e0182bdf3b..d2b8770aab9 100644 --- a/projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts +++ b/projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts @@ -599,7 +599,7 @@ export class IgxDatePickerComponent implements ControlValueAccessor, EditorProvi * @hidden */ public handleSelection(date: Date) { - if (this.value !== null && this.value !== undefined) { + if (this.value) { date.setHours(this.value.getHours()); date.setMinutes(this.value.getMinutes()); date.setSeconds(this.value.getSeconds());