You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behaviour is sporadic.
When passed a value to ngModel the value doesn't reflect in the input field. Instead we have to manually open the calendar and select the value
Environment
Behaviour is sporadic in nature.
It works in local development mode but in production build the issue is visible
Reproducer
No response
Angular version
^17.3.4
PrimeNG version
17.18.9
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.19.1
Browser(s)
Chrome 128.0.6613.138
Steps to reproduce the behavior
On click of a button just keep passing random values to the primeng calendar , it fails with a blank field
Expected behavior
The value that is passed to the ngModel of the calendar should be reflected on the field
The text was updated successfully, but these errors were encountered:
I don't know if it will help you to fix your problem but I think I faced the same problem.
For me the problem was that I putted a [minDate] attribute to the calendar. The calendar value was managed by a FormControl.
When I would like to update the [minDate] value and the FormControl value I faced the problem.
If I tried to change the FormControl value with a value less than the previous [minDate] value then the calendar showed a blank field. After if I clicked on the calendar field the value showed.
To fix it I removed manually the [minDate] value on the calendar with a @ViewChild reference to the component. I set the new [minDate] value after my FormControl update.
Describe the bug
The behaviour is sporadic.
When passed a value to ngModel the value doesn't reflect in the input field. Instead we have to manually open the calendar and select the value
Environment
Behaviour is sporadic in nature.
It works in local development mode but in production build the issue is visible
Reproducer
No response
Angular version
^17.3.4
PrimeNG version
17.18.9
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.19.1
Browser(s)
Chrome 128.0.6613.138
Steps to reproduce the behavior
On click of a button just keep passing random values to the primeng calendar , it fails with a blank field
Expected behavior
The value that is passed to the ngModel of the calendar should be reflected on the field
The text was updated successfully, but these errors were encountered: