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: Sorting doesn't work properly if the data source is a signal or observable #14393

Closed
codrut1 opened this issue Dec 19, 2023 · 4 comments
Closed
Labels
Resolution: Cannot Replicate Issue could not be replicated by Core Team Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated.

Comments

@codrut1
Copy link

codrut1 commented Dec 19, 2023

Describe the bug

When using a table component and the source is an observable or a signal, the sorting does not work

Environment

Windows 11

Reproducer

No response

Angular version

17.0.0

PrimeNG version

17.1.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.16.0

Browser(s)

No response

Steps to reproduce the behavior

  1. Use a Table component
  2. For the [value], use a signal or observable

Expected behavior

  1. Sorting works as expected
@codrut1 codrut1 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 19, 2023
@SaajRP
Copy link

SaajRP commented Dec 19, 2023

May be a similar issue to #13517

@codrut1
Copy link
Author

codrut1 commented Dec 19, 2023

In this case the header remains in this state
image
and I get this error
image

@cetincakiroglu cetincakiroglu added Resolution: Cannot Replicate Issue could not be replicated by Core Team Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 20, 2023
Copy link

We're unable to replicate your issue, if you are able to create a reproducer by using PrimeNG Issue Template or add details please edit this issue. This issue will be closed if no activities in 20 days.

@cetincakiroglu
Copy link
Contributor

I am closing the issue since a reproducer is not provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Cannot Replicate Issue could not be replicated by Core Team Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated.
Projects
None yet
Development

No branches or pull requests

3 participants