Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: Calendar incorrect process initial value from FormControl/ngModel #14699

Closed
dreyliky opened this issue Feb 2, 2024 · 1 comment
Closed
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working

Comments

@dreyliky
Copy link

dreyliky commented Feb 2, 2024

Describe the bug

The calendar shows the date in the input element but doesn't select the initial date inside the overlay until I select it by clicking on a specific day inside the overlay.

dateFormat - yy-mm-dd
dataType - string

In PrimeNg >=17.3.3 <17.5.0 calendar behavior described here:
#14616

image

Environment

https://stackblitz.com/edit/4gkycx-okhm5i?file=src%2Fapp%2Fdemo%2Fcalendar-reactive-forms-demo.html

Reproducer

https://stackblitz.com/edit/4gkycx-okhm5i?file=src%2Fapp%2Fdemo%2Fcalendar-reactive-forms-demo.html

Angular version

17

PrimeNG version

17.5.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.11.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@dreyliky dreyliky added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 2, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 5, 2024
@cetincakiroglu
Copy link
Contributor

Reverted the PR that breaks the functionality and causes this issue. Related PR is reverted in here #14750

Thanks for reporting the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants