Datatable: using rowsPerPageOptions produces error when clicked #6553
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Milestone
Describe the bug
When using the Datatable rowsPerPageOptions, the dropdown errors out when clicked:
Objects are not valid as a React child (found: object with keys {label, value}). If you meant to render a collection of children, use an array instead.
This is even on the main website! When clicking on the "choose" dropdown it errors
Reproducer
No response
PrimeReact version
10.6.4
React version
18.x
Language
TypeScript
Build / Runtime
Vite
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: