Skip to content

Commit 5b569fe

Browse files
committed
fix(calendar): fix single selecetion error #4282
1 parent 7687a76 commit 5b569fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/igniteui-angular/src/lib/calendar/days-view/days-view.component.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,9 @@ export class IgxDaysViewComponent extends IgxCalendarBase implements DoCheck {
300300
*/
301301
public selectDay(event) {
302302
this.selectDateFromClient(event.date);
303-
this.deselectDateInMonthViews(event.date);
303+
if (this.selection === 'multi') {
304+
this.deselectDateInMonthViews(event.date);
305+
}
304306
this.onDateSelection.emit(event);
305307

306308
this.onSelection.emit(this.selectedDates);

0 commit comments

Comments
 (0)