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 : triggers lazy loading event twice whenever a new value is entered into a filter #16243

Open
SaajRP opened this issue Aug 15, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@SaajRP
Copy link

SaajRP commented Aug 15, 2024

Describe the bug

When I enter a value into a filter, the lazy load event is emitted twice. If I press enter to apply an existing filter this does not happen

This issue #16182, was not fully fixed

Environment

macOS Sonoma 14.5

Reproducer

https://stackblitz.com/edit/oetsny-rdsoxe

Angular version

18.1.3

PrimeNG version

17.18.9

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.16.0

Browser(s)

No response

Steps to reproduce the behavior

Enter filter value into a filter, press enter button to apply filter. Lazy Load Event is emitted twice. Now press enter to apply same filter value into same filter, lazy load event is emitted once

Expected behavior

Lazy Load event should only be emitted once, whenever a new filter value is entered

@SaajRP SaajRP added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant