CurrentPageReport displays wrong value #1475
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
vue2-portable
Milestone
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
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.
The text was updated successfully, but these errors were encountered: