primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.42k stars 4.6k forks source link

Table Pagination Bug With Signals #16146

Open tolgatopkara opened 3 months ago

tolgatopkara commented 3 months ago

Describe the bug

page count not updating when adding signal data into table

Environment

Angular 17,prima 17,

Reproducer

No response

Angular version

17.3.10

PrimeNG version

17.7.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.9.0

Browser(s)

No response

Steps to reproduce the behavior

When i use default row=5, and add new values with signals= pagination not updating the how many page is there. For example it stucs in 1 page when i add 10 signal data to the table. Its updating when it comes to delete.

Expected behavior

No response

EnricoMessall commented 3 months ago

Hey @tolgatopkara. Can you create a small example with stackblitz by using the original https://primeng.org/table#basic stackblitz doc? That would help to understand the issue a little bit better

tolgatopkara commented 2 months ago

after updating v18 and all other dependencies there is no bug left for now. if i find some time i will create a stackblitz example