Skip to content

Commit

Permalink
Merge pull request #14627 from primefaces/issue-14542
Browse files Browse the repository at this point in the history
Fixed #14542 - Calendar  | Validation is triggered before calendar is…
  • Loading branch information
cetincakiroglu authored Feb 1, 2024
2 parents a976fe2 + 4bd617d commit d552a7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1582,6 +1582,9 @@ export class Calendar implements OnInit, OnDestroy, ControlValueAccessor {
}
}
}
else if (this.dataType === 'string') {
formattedValue = date;
}

return formattedValue;
}
Expand Down

0 comments on commit d552a7b

Please sign in to comment.