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

Multiselect: Select all checkbox not working in Filtered multiselect issue related to #4944 #5046

Closed
mohamadbdeir opened this issue Oct 5, 2023 · 1 comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted

Comments

@mohamadbdeir
Copy link
Contributor

Describe the bug

When options are being dynamically fetched on filter event in a multiselect, the select all checkbox does not seem to work.

opera_am3yOuoaQG

This is related to issue #4944

Reproducer

No response

PrimeReact version

10.0.2

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. Use a filtered multislect component
  2. Instead of defining a static array that contains options, use a method that calls a remote api to fetch data
  3. Fetch the data on filter event using onFilter prop and update the state accordingly
  4. When options are finished loading, select all checkbox does not work.

Expected behavior

The checkbox should have the same behaviour as when the data is static

@mohamadbdeir mohamadbdeir added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 5, 2023
@melloware
Copy link
Member

#4988

@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 Oct 5, 2023
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