Skip to content

Commit

Permalink
chore: test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
harshith-venkatesh-freshworks committed Nov 12, 2024
1 parent 9fc9b73 commit 99b4576
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,14 @@ export class Datepicker {
}) ||
!this.isDateWithinMinMaxDate(parsedDate.valueOf(), false)
) {
console.info(
year < this.minYear,
year > this.maxYear,
!isValid(parsedDate),
!isMatch(parsedDate, this.displayFormat, {
locale: this.langModule,
}) || !this.isDateWithinMinMaxDate(parsedDate.valueOf(), false)
);
this.isDateInvalid = !!parsedDate;
this.state =
this.showErrorOnInvalidDate && this.isDateInvalid
Expand Down

0 comments on commit 99b4576

Please sign in to comment.