We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9190a62 commit 6b0b7d9Copy full SHA for 6b0b7d9
projects/igniteui-angular/src/lib/calendar/calendar-base.ts
@@ -616,7 +616,7 @@ export class IgxCalendarBase implements ControlValueAccessor {
616
* Deselects date(s) (based on the selection type).
617
*/
618
public deselectDate(value?: Date | Date[]) {
619
- if (this.selectedDates || this.selectedDates.length === 0) {
+ if (!this.selectedDates || this.selectedDates.length === 0) {
620
return;
621
}
622
0 commit comments