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

Datatable: the paginator throw "Objects are not valid" error when the count page selector is opened #6523

Closed
leonardopavanello opened this issue Apr 30, 2024 · 1 comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted

Comments

@leonardopavanello
Copy link

leonardopavanello commented Apr 30, 2024

Describe the bug

Paginator throw this js error when the page count selector is opened:

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.

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

  1. Go to https://primereact.org/datatable/#paginator
  2. Open the Dropdown to choose the page count

Expected behavior

No response

@leonardopavanello leonardopavanello added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 30, 2024
@leonardopavanello leonardopavanello changed the title Datatable: paginator throw error "Objects are not valid" opening the dropdown page selector Datatable: the paginator throw "Objects are not valid" error when the dropdown count page selector is opened Apr 30, 2024
@leonardopavanello leonardopavanello changed the title Datatable: the paginator throw "Objects are not valid" error when the dropdown count page selector is opened Datatable: the paginator throw "Objects are not valid" error when the count page selector is opened Apr 30, 2024
@leonardopavanello
Copy link
Author

duplicated #6518

@leonardopavanello leonardopavanello closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
@melloware melloware added Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants