primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Calendar: rselectionMode range + showTime doesn't work together

Open Emiliorth opened this issue 9 months ago • 0 comments

Describe the bug

p-calendar with selectionMode="range" and [showTime]="true" gives error, when clicking arrows that changes hours image

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

Emiliorth avatar May 22 '24 09:05 Emiliorth