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: Table Multiple lazy load events on table reset #14245

Open
NotMeAtAllA opened this issue Nov 29, 2023 · 1 comment
Open

Component: Table Multiple lazy load events on table reset #14245

NotMeAtAllA opened this issue Nov 29, 2023 · 1 comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@NotMeAtAllA
Copy link

Describe the bug

Multiple events are triggered when table reset method in lazy mode is called.

Current behavior:

  1. When reset() method is invoked, the number of triggered events is equal to the number of filters in the table + 1.
  2. Each event contains 1 filter cleared more than before.

See expected behavior in "Expected behavior" tab.

Environment

Modified PrimeNG 12 Stackblitz table lazy load template.
Filters were copy-pasted from the first - full table - example.
New button to trigger table reset was added in the main template, right above the table.

Reproducer

https://stackblitz.com/edit/primeng-tablelazy-demo-tbpydp

Angular version

13.0.3

PrimeNG version

13.0.4

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

not sure how to check in default stackblitz template, locally v14.21.3

Browser(s)

No response

Steps to reproduce the behavior

Open console in stackblitz.
Click reset button.
You will see multiple lazy load events invoked.

Expected behavior

  1. When reset() method is invoked, the number of triggered events is equal to 1.
  2. The triggered event contains all fields cleared.
@NotMeAtAllA NotMeAtAllA added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 29, 2023
@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback 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 4, 2024
@mertsincan mertsincan added this to the Future milestone Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
Status: Review
Development

No branches or pull requests

2 participants