-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: Filter does not work when options is an array of strings #4071
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Comments
maaattg
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Jun 21, 2023
tugcekucukoglu
added
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Jun 26, 2023
. |
CraZzier
pushed a commit
to CraZzier/primevue
that referenced
this issue
Sep 14, 2023
Merged
+1 |
cha-hin
pushed a commit
to cha-hin/primevue
that referenced
this issue
Sep 18, 2023
I have the same issue, when it will be possible to have this change in the main branch? |
Fixed in #4447 |
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
Describe the bug
The filter in the MultiSelect component doesn't work if the
options
prop is an array of primitives/strings.This issue was previously reported in the primereact repo (see #3420) and subsequently fixed by #3380. However the issue persists in primevue.
Reproducer
https://codesandbox.io/p/sandbox/red-framework-mp2p8h?file=%2Fsrc%2FApp.vue%3A8%2C1
PrimeVue version
3.29.2
Vue version
3.x
Language
ALL
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Given an array of primitives, the MultiSelect filter (i.e. the filter service) should compare its query string directly against them instead of targeting a property.
The text was updated successfully, but these errors were encountered: