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

fix #14603 - added call to onChange.emit to multiselect's toggleAll method #14604

Closed
wants to merge 2 commits into from

Conversation

rosenthalj
Copy link
Contributor

Fix #14603

I added a call to onChange.emit to the toggleAll method. This functionality worked in v15.x and was broken sometime in v16.x. After analyzing the differences, it appears that a call to onChange.emit was missing in v17.x

The first video shows that the reproducer is fixed with this pull request

multiselectVideoFix1.mov

The second video shows that the PimeNG table filter row demo is fixed with this pull request

multiselectVideoFix2.mov

Copy link

vercel bot commented Jan 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Feb 14, 2024 8:22pm

@ksmit
Copy link

ksmit commented Feb 13, 2024

do we have any indication when the target release for this is ?

@rosenthalj
Copy link
Contributor Author

rosenthalj commented Feb 14, 2024

@cetincakiroglu
@mehmetcetin01140

After updating to 17.7.0, I have verified that this Pull Request still fixes issue #14603

@rosenthalj
Copy link
Contributor Author

To help quickly identify the cause issue #14603 and to save PrimeNG developers time searching/comparing code:

primeng_src_app_components_multiselect_multiselect_ts_at_master_·primefaces_primeng_and_primeng_src_app_components_multiselect_multiselect_ts_at_15_4_1·primefaces_primeng_and_Inbox•_joseph_a_rosenthal_nasa_gov

This PR is a simple fix that adds the missing call to onChange to multiselect's toggleAll method

@sathyesh
Copy link

Any idea, when it will be merged? A lot of multi-select were used in my project :(

@rosenthalj
Copy link
Contributor Author

This PR is superseded by PR #14826

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

p-multiselect: onChange event is not triggered for multiselect's filter select all/unselect all
5 participants