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

PrimeNG v18, p-datePicker with 'range' mode, doesn't work the property 'hideOnDateTimeSelect' #17222

Open
1 of 4 tasks
ilFortu opened this issue Dec 26, 2024 · 0 comments
Open
1 of 4 tasks
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Milestone

Comments

@ilFortu
Copy link

ilFortu commented Dec 26, 2024

Describe the bug

As you can see here: https://stackblitz.com/edit/yskatmmp?file=src%2Fapp%2Fdatepicker-basic-demo.html
When the datePicker is used in 'range' mode and 'hideOnDateTimeSelect' is set to false it doesn't work properly, the 'false' setting is ignored and the panel is closed once selected the second date

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/yskatmmp?file=src%2Fapp%2Fdatepicker-basic-demo.html

Environment

Angular v18 and PrimeNG v18

Angular version

18.2.13

PrimeNG version

v18 (LTS Only)

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

Check here https://stackblitz.com/edit/yskatmmp?file=src%2Fapp%2Fdatepicker-basic-demo.html

Expected behavior

hideOnDateTimeSelect should properly work with range mode, as it was in the previous PrimeNG versions.

@ilFortu ilFortu added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 26, 2024
@cetincakiroglu cetincakiroglu added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 26, 2024
@cetincakiroglu cetincakiroglu added this to the 19.0.3 milestone Dec 26, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team
Projects
Status: Review
Development

No branches or pull requests

2 participants