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

Calendar: Showing start Date instead of end Date when set two dates for the data binding property #13953

Closed
rordenerena opened this issue Oct 25, 2023 · 0 comments · Fixed by #15164
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@rordenerena
Copy link
Contributor

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

@rordenerena rordenerena added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 25, 2023
@cetincakiroglu cetincakiroglu 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 Mar 26, 2024
@cetincakiroglu cetincakiroglu added this to the 17.13.0 milestone Mar 26, 2024
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

Successfully merging a pull request may close this issue.

2 participants