We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3efa047 commit 051aefaCopy full SHA for 051aefa
projects/igniteui-angular/src/lib/calendar/calendar-base.ts
@@ -620,7 +620,7 @@ export class IgxCalendarBaseDirective implements ControlValueAccessor {
620
* Deselects date(s) (based on the selection type).
621
*/
622
public deselectDate(value?: Date | Date[]) {
623
- if (this.selectedDates || this.selectedDates.length === 0) {
+ if (!this.selectedDates || this.selectedDates.length === 0) {
624
return;
625
}
626
0 commit comments