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

Dropdown/Multiselect filter change event #9971

Closed
dmagill89 opened this issue Mar 4, 2021 · 1 comment
Closed

Dropdown/Multiselect filter change event #9971

dmagill89 opened this issue Mar 4, 2021 · 1 comment
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@dmagill89
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)

Current behavior
When changing a dropdown or multiselect filter value there is no change event emitted.

Expected behavior
Emit change event when dropdown or multiselect filter value is changed.

What is the motivation / use case for changing the behavior?
Being able to listen for filter change events will allow dynamic changing of options, this is helpful for large data sets that are paginated.

  • Angular version: 5.X
    11

  • PrimeNG version: 5.X
    11

@yigitfindikli yigitfindikli added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Mar 5, 2021
@tvl83
Copy link

tvl83 commented Mar 11, 2021

I came here to report this very thing. @dmagill89. I figured out that the FORM element's onChange is triggered when selecting an option after filtering. So just wire up the <form (onChange)=""> to the same method as the dropdowns onChange and things will work.

This should be fixed, I think, but this is a easy work around. It should, at the very least, be in the documentation.

I work for a large company and am using angular 8.0.0 and primeng 8.0.0 so I wont be seeing an update even if it is fixed in primeng, unfortunately. My work around seems to work perfectly fine.

@yigitfindikli yigitfindikli added this to the 11.3.2 milestone Mar 23, 2021
@yigitfindikli yigitfindikli self-assigned this Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

3 participants