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

primeng.org/paginator multiple console errors #14037

Closed
avytak opened this issue Nov 6, 2023 · 2 comments
Closed

primeng.org/paginator multiple console errors #14037

avytak opened this issue Nov 6, 2023 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@avytak
Copy link

avytak commented Nov 6, 2023

Describe the bug

When I want to access the https://primeng.org/paginator, I receive multiple errors in the console:
image

The same behavior when I try to check the API tab for paginator.

main.5b4a27f325c7cbec.js:1 ERROR TypeError: Cannot read properties of undefined (reading 'length')
at get inputClass [as inputClass] (main.5b4a27f325c7cbec.js:1:375801)
at gt (main.5b4a27f325c7cbec.js:1:362020)
at e_.runInContext (main.5b4a27f325c7cbec.js:1:1442471)
at a_ (main.5b4a27f325c7cbec.js:1:1444720)
at x_ (main.5b4a27f325c7cbec.js:1:1454253)
at S_ (main.5b4a27f325c7cbec.js:1:1455457)
at T_ (main.5b4a27f325c7cbec.js:1:1455290)
at x_ (main.5b4a27f325c7cbec.js:1:1454538)
at uf (main.5b4a27f325c7cbec.js:1:1453975)
at Yp.detectChanges (main.5b4a27f325c7cbec.js:1:1456346)

Environment

MacOS

Reproducer

No response

Angular version

Does not related to version

PrimeNG version

16.7.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.16.0

Browser(s)

Chrome Version 119.0.6045.105

Steps to reproduce the behavior

  1. Open https://primeng.org/
  2. Click "Components"
  3. Search for the Paginator component
  4. Try to click API tab

Expected behavior

The console should not have errors and the user should be able to see API info

@avytak avytak added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 6, 2023
@maruthumj
Copy link
Contributor

@avytak I'm not able to reproduce the issue with the latest code. can you check please?

@avytak
Copy link
Author

avytak commented Nov 7, 2023

Issue fixed for v16.7.1
thank you!

@avytak avytak closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants