File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
projects/igniteui-angular/src/lib/calendar/days-view Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 2828 [outOfRangeDates] ="outOfRangeDates "
2929 [hideOutsideDays] ="hideOutsideDays "
3030 [attr.tabindex] ="tabIndex(day) "
31+ (focus) ="activeDate = day.date.toLocaleDateString() "
3132 (onDateSelection) ="selectDay($event) ">
3233 {{ formattedDate(day.date) }}
3334 </ igx-day-item >
Original file line number Diff line number Diff line change @@ -326,7 +326,6 @@ export class IgxDaysViewComponent extends IgxCalendarBaseDirective implements Do
326326 public selectDay ( event ) {
327327 this . selectDateFromClient ( event . date ) ;
328328 this . onDateSelection . emit ( event ) ;
329-
330329 this . onSelection . emit ( this . selectedDates ) ;
331330 }
332331
@@ -387,7 +386,6 @@ export class IgxDaysViewComponent extends IgxCalendarBaseDirective implements Do
387386 event . preventDefault ( ) ;
388387 event . stopPropagation ( ) ;
389388 const day = this . daysNavService . focusNextDate ( event . target as HTMLElement , event . key ) ;
390- this . activeDate = day ?. date . date . toLocaleDateString ( ) ;
391389 }
392390
393391 /**
You can’t perform that action at this time.
0 commit comments