-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Component: Multiselect onChange not called #14807
Comments
We are also experiencing this with any version higher than 16.6.0. Looking at the change log between 16.6.0 and 16.7.0, there were three commits with MultiSelect. One commit has to do with the checkbox in the header, which I assume is the select all functionality. Perhaps this is where the problem was introduced? |
Issue #14603 is the same issue as the first part of this issue : onChange (i.e. "Callback to invoke when value changes") I created issue #14603 which is a partial duplicate of this issue. It only fixes the "onChange event" problem addressed in this issue I created pull request #14604 which fixes only the onChange event problem |
Describe the bug
Using a the MultiSelect component, the
onChange
callback does not emit when selecting all values through the upper checkbox that serves as a shortcut to select/unselect all values.Environment
Ubuntu 23.10
Angular v17
Primeng 17.3.2
Reproducer
No response
Angular version
17.0.7
PrimeNG version
17.3.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v18.16.1
Browser(s)
No response
Steps to reproduce the behavior
template:
typescript:
Expected behavior
onChange
(i.e. "Callback to invoke when value changes") andonSelectAllChange
(i.e "Callback to invoke when all data is selected") events should emit as the upper checkbox is clicked or unclicked.The text was updated successfully, but these errors were encountered: