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 filtering issues with array of strings #14011

Closed
Hambardzum93 opened this issue Nov 3, 2023 · 8 comments
Closed

Dropdown filtering issues with array of strings #14011

Hambardzum93 opened this issue Nov 3, 2023 · 8 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Hambardzum93
Copy link

Describe the bug

The dropdown filtering with array of strings works incorrectly. I have the dropdown like this.

MicrosoftTeams-image (7)

Bug 1: The empty text doesn't show when no data is found.

MicrosoftTeams-image (8)

Bug 2:The filtering totally doesn't work with string array

MicrosoftTeams-image (9)

Bug 3: After clear get "[object PointerEvent]" as value

MicrosoftTeams-image (10)

Environment

Angular: 16.2.7
PrimeNG: 16.7.0
Browser: Chrome (Latest)

Reproducer

No response

Angular version

16.2.7

PrimeNG version

16.7.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.16.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@Hambardzum93 Hambardzum93 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 3, 2023
@samvel077
Copy link

Also found it

@Yedigaryan
Copy link

Yeah , the same issue here!

@K-Makaryan
Copy link

Same issue after last update.

@cetincakiroglu
Copy link
Contributor

Hi,

Thanks a lot for reporting the issue, could you please also share a stackblitz example so we can identify the root cause clearly?

@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 3, 2023
@cetincakiroglu cetincakiroglu added this to the 16.8.0 milestone Nov 3, 2023
@cetincakiroglu
Copy link
Contributor

@cetincakiroglu cetincakiroglu self-assigned this Nov 3, 2023
@cetincakiroglu
Copy link
Contributor

Hi everyone,

With version 16.7.0, we have released the first part of the accessibility implementation for inputs that we have been working on for a long time. Based on the research we conducted during the implementation, we decided that many components needed changes in their structure and simplification, and these components were rewritten. Unfortunately, after extensive testing, there may be unexpected and unforeseen bugs that have emerged. We are grateful for your reports, and we are working to address them in the upcoming release!

@mcrtricolor
Copy link

Hi. I'm still having problems with the dropdown filter in versions bigger than 16.6.0.

I get the error 'TypeError: option.indexOf is not a function' in file 'node_modules/primeng/fesm2022/primeng-dropdown.mjs' every time i filter. This is happening with at least versions 16.9.1 and 17.

I had to downgrade to 16.6.0 even though i'm using angular 17.

The Multiselect filter is also not working properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

6 participants