Calendar: Showing start Date instead of end Date when set two dates for the data binding property #13953
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
I have a p-Calendar in range mode with only one month showed, his value is with ngModel (two data binding), if I set two dates for the property binding to ngModel, the calendar shows the start Date, when, imho should show the end Date, or at least that this behaviour will be customizable by a property.
Environment
Angular 16
PrimeNG 16
Reproducer
https://codesandbox.io/s/primeng-calendar-inline-demo-forked-fhq55v?file=/src/app/demo/calendar-inline-demo.ts
Angular version
16
PrimeNG version
16
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18
Browser(s)
ALL
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: