You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
May 22, 2024
Describe the bug
In https://github.com/primefaces/primereact/blob/master/components/lib/paginator/PageLinks.js#L76
there is
totalPages: props.pageCount,
instead of
totalPages: props.totalPages,
which issues a problem when using paginator template - the options.totalPages is always undefined.
See https://github.com/primefaces/primereact/blob/master/components/lib/paginator/Paginator.js#L205C79-L205C89 - there is totalPages prop, not pageCount.
Reproducer
No response
PrimeReact version
10.6.5
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: