Calendar: component emit different format on load then after change #14484
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When we change dataType and dateFormat on the p-calendar element it does not reflect this value on the initial load.
Environment
Reproducer
https://stackblitz.com/edit/gucrzb?file=src%2Fapp%2Fdemo%2Fcalendar-basic-demo.html,src%2Fapp%2Fdemo%2Fcalendar-basic-demo.ts
Angular version
17.0.5
PrimeNG version
17.3.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.10.0
Browser(s)
All
Steps to reproduce the behavior
Expected behavior
Apply format and type on initial load
The text was updated successfully, but these errors were encountered: