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

p-table: Date filter not working #14987

Closed
mkoestner opened this issue Mar 8, 2024 · 3 comments · Fixed by #15094
Closed

p-table: Date filter not working #14987

mkoestner opened this issue Mar 8, 2024 · 3 comments · Fixed by #15094
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@mkoestner
Copy link

Describe the bug

The date picker in a date filter in p-table is no longer working. I cannot switch to other months and the selection is not used as filter.

Environment

you can see in the documentation:
https://primeng.org/table#filter

Reproducer

No response

Angular version

17.2.3

PrimeNG version

17.10.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.17.1

Browser(s)

No response

Steps to reproduce the behavior

https://primeng.org/table#filter

Expected behavior

The date picker in a filter column should be usable and the selected date should be used as filter value.

@mkoestner mkoestner added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 8, 2024
@psarno
Copy link

psarno commented Mar 12, 2024

I am experiencing this issue also.

When clicking on the month arrows, the calendar closes. When clicking on the date, the calendar closes and the date is not set on the filter.

As mentioned, you can reproduce this on the PrimeNG documentation page for table filter. Try changing the month or picking a day.

https://primeng.org/table#filter

image

@mkoestner
Copy link
Author

I reverted now to 17.7.0.
In this release the calendar works. I think the bug was introduced in 17.8.0, perhaps with #14825

@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 Mar 18, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.12.0 milestone Mar 18, 2024
@sam-epner
Copy link

I am also experiencing this issue.

Screen.Recording.2024-03-18.at.5.09.39.PM.mov

supersinex added a commit to supersinex/primeng that referenced this issue Mar 19, 2024
…ny target within the p-datepicker dialog
cetincakiroglu added a commit that referenced this issue Mar 20, 2024
Fixed #14987 - Table | Date Filter Closing Unexpectedly
ymg2006 pushed a commit to ymg2006/primeng that referenced this issue Jul 21, 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.

4 participants