File tree 2 files changed +1
-2
lines changed
projects/igniteui-angular/src/lib/calendar/days-view
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 28
28
[outOfRangeDates] ="outOfRangeDates "
29
29
[hideOutsideDays] ="hideOutsideDays "
30
30
[attr.tabindex] ="tabIndex(day) "
31
+ (focus) ="activeDate = day.date.toLocaleDateString() "
31
32
(onDateSelection) ="selectDay($event) ">
32
33
{{ formattedDate(day.date) }}
33
34
</ igx-day-item >
Original file line number Diff line number Diff line change @@ -326,7 +326,6 @@ export class IgxDaysViewComponent extends IgxCalendarBaseDirective implements Do
326
326
public selectDay ( event ) {
327
327
this . selectDateFromClient ( event . date ) ;
328
328
this . onDateSelection . emit ( event ) ;
329
-
330
329
this . onSelection . emit ( this . selectedDates ) ;
331
330
}
332
331
@@ -387,7 +386,6 @@ export class IgxDaysViewComponent extends IgxCalendarBaseDirective implements Do
387
386
event . preventDefault ( ) ;
388
387
event . stopPropagation ( ) ;
389
388
const day = this . daysNavService . focusNextDate ( event . target as HTMLElement , event . key ) ;
390
- this . activeDate = day ?. date . date . toLocaleDateString ( ) ;
391
389
}
392
390
393
391
/**
You can’t perform that action at this time.
0 commit comments