primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.29k stars 4.56k forks source link

Calender Component: Calendar isn't showing the initial value from FormControl/ngModel #15742

Open PraveenReddy-4e1 opened 4 months ago

PraveenReddy-4e1 commented 4 months ago

Describe the bug

I am using p-calendar with ngModel and minDate. ngModel is having old date and minDate is having current date. in this case ngModel value is not showing in the calendar. this issue is happening in primeng 17 version. it is working fine in the 15.4.1 version. Please check the below screenshot

Screenshot 2024-05-30 105236

NOTE : Tried with latest version also "primeng": "^17.17.0", but still same behavior

Environment

Angular 17, PrimeNG ^17.3.1

Reproducer

No response

Angular version

17

PrimeNG version

17.3.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.14.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

PraveenKumarReddy1 commented 4 months ago

Hi team, any update?

Zealdown commented 2 months ago

Hi team, any update?

PhuocHoangMinhNguyen commented 2 months ago

Having the same issue here. What we did in our team is to revert to version 17.12.0