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

CurrentPageReport displays wrong value #1475

Closed
nclemeur opened this issue Aug 26, 2021 · 0 comments
Closed

CurrentPageReport displays wrong value #1475

nclemeur opened this issue Aug 26, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2-portable
Milestone

Comments

@nclemeur
Copy link

nclemeur commented Aug 26, 2021

[x ] bug report

CodeSandbox Case (Bug Reports)
Please demonstrate your case at CodeSandbox by using the issue template below. Issues without a test case have much less possibility to be reviewed in detail and assisted.

https://codesandbox.io/s/primevue-issue-template-v3-5tlbl

Current behavior
CurrentPageReport of paginator display invalid data when no records. No only the current page report is invalid, but there is also a button for page 1 which does not exists... See screenshot below for example

image

Expected behavior
Have a property to specify a message when no records and/or even better add slot to allow complete customization of that component

Minimal reproduction of the problem with instructions
Just need to modify https://www.primefaces.org/primevue/showcase/#/datatable/paginator to return 0 records.

@cagataycivici cagataycivici self-assigned this Aug 27, 2021
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 27, 2021
@cagataycivici cagataycivici added this to the 3.7.0 milestone Aug 27, 2021
@cagataycivici cagataycivici changed the title Add templating for (DataTable) Paginator CurrentPageReport displays wrong value Aug 27, 2021
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 vue2-portable
Projects
None yet
Development

No branches or pull requests

3 participants