Calendar: rselectionMode range + showTime doesn't work together #15655
Labels
Status: Pending Review
Issue or pull request is being reviewed by Core Team
Milestone
Describe the bug
p-calendar with selectionMode="range" and [showTime]="true" gives error, when clicking arrows that changes hours
Environment
Windows 10 Angular 17, PrimeNG 17.17.0
Reproducer
No response
Angular version
17.3.0
PrimeNG version
17.17.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
21.6.0
Browser(s)
Chrome
Steps to reproduce the behavior
Click on arrow that changes hours
<p-calendar [formControlName]="controlName" [inputId]="finalInputId" appendTo="body" [dateFormat]="'dd-mm-yy'" [showIcon]="true" [showClear]="true" [showButtonBar]="true" [showTime]="true" [minDate]="min" [maxDate]="max" selectionMode="range" [required]="requiredAutoForValidation"> <ng-template pTemplate="triggericon"> <app-google-icon [icon]="GoogleIcon.CALENDAR_TODAY"></app-google-icon> </ng-template> </p-calendar>
Expected behavior
No response
The text was updated successfully, but these errors were encountered: