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

Table: Unhandled exception if multiSortMeta array is empty #11868

Closed
philippwaller opened this issue Aug 24, 2022 · 0 comments · Fixed by #11869
Closed

Table: Unhandled exception if multiSortMeta array is empty #11868

philippwaller opened this issue Aug 24, 2022 · 0 comments · Fixed by #11869
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@philippwaller
Copy link
Contributor

Describe the bug

Currently, an exception occurs if an empty multiSortMeta array is passed. However, there are use cases where the sort criteria are set after rendering. Therefore, it should be possible to pass an empty multiSortMeta array and change it during the lifecycle.

Environment

local

Reproducer

No response

Angular version

14.1.X

PrimeNG version

14.0.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

14.20.0

Browser(s)

all

Steps to reproduce the behavior

No response

Expected behavior

No response

@philippwaller philippwaller added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 24, 2022
@cetincakiroglu cetincakiroglu added this to the 14.0.3 milestone Sep 9, 2022
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants