-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Type: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Description
Describe the bug
Filter Fields in multiselect component not working as expected
Pull Request Link
Reason for not contributing a PR
- Lack of time
- Unsure how to implement the fix/feature
- Difficulty understanding the codebase
- Other
Other Reason
No response
Reproducer
https://primeng.org/multiselect
Environment
Primeng Version: v21
Angular Version: v21
Angular version
21.0.4
PrimeNG version
v21
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Occurs in multiselect component
Expected behavior
When filterFields is provided:
<p-multiSelect
[options]="items"
optionLabel="name"
[filter]="true"
[filterFields]="['name', 'code']">
</p-multiSelect>
The filter logic should only match against the fields specified in filterFields (name, code).
Results should be filtered based on those fields instead of using default fields or implicit behavior.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working