Table: Unhandled exception if multiSortMeta array is empty #11868
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
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
The text was updated successfully, but these errors were encountered: