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, Listbox group filter issue when using custom interface instead of SelectItemGroup #10022

Closed
shaifulborhan opened this issue Mar 18, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@shaifulborhan
Copy link

shaifulborhan commented Mar 18, 2021

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

[ x ] bug report => Search github for a similar issue or PR before submitting
[ ] 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)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.

https://stackblitz.com/edit/primeng-dropdown-group-filter-demo

Current behavior
When the dropdown is in [group]=true and [filter]=true mode, the filter does not work when we are passing the options data in a format other than SelectItemGroup[] even when the filterBy property has been set explicitly.

Expected behavior
The filter should work as expected when the options are in a data format other than SelectItemGroup[] because we have explicitly define our filter fields in the filterBy property.

What is the motivation / use case for changing the behavior?
It should be working as expected because the component properties are deliberately made to support this functionality.

Please tell us about your environment:
MacOS

  • Angular version: 11.X

  • PrimeNG version: 11.3.1

  • Browser: Tested in Chrome 89 only

  • Language: [all | TypeScript 4.x

@yigitfindikli yigitfindikli added Status: Pending Review Issue or pull request is being reviewed by Core Team Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Mar 22, 2021
@yigitfindikli yigitfindikli self-assigned this Mar 22, 2021
@yigitfindikli yigitfindikli added this to the 11.3.2 milestone Mar 22, 2021
@yigitfindikli yigitfindikli changed the title p-dropdown group filter issue when using custom interface instead of SelectItemGroup Dropdown, MultiSelect, Listbox group filter issue when using custom interface instead of SelectItemGroup Mar 23, 2021
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

2 participants