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

IgxCombo: ability to filter multiple fields #9884

Closed
Timmeeeey opened this issue Jul 20, 2021 · 8 comments · Fixed by #11841
Closed

IgxCombo: ability to filter multiple fields #9884

Timmeeeey opened this issue Jul 20, 2021 · 8 comments · Fixed by #11841
Assignees
Labels
combo 🧰 feature-request ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@Timmeeeey
Copy link

Is your feature request related to a problem? Please describe.

If you have a IgxCombo with a complex object you can only search one property.

see https://www.infragistics.com/products/ignite-ui-angular/angular/components/combo-templates#angular-combo-templates-example

In the example Combo the fields 'state' and 'region' are displayed but you can only search for 'state'.

Describe the solution you'd like

How about adding a property searchFields where you can specify all fields to search like ['state', 'region'].

Describe alternatives you've considered

An alternatve solution would be to let the programmer customize the search with [customFilter]="true" and a (filter) event.

@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Sep 19, 2021
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Sep 19, 2021
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Nov 19, 2021
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Nov 19, 2021
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Jan 19, 2022
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Jan 19, 2022
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Mar 21, 2022
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label Mar 21, 2022
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label May 21, 2022
@Lipata Lipata removed the status: inactive Used to stale issues and pull requests label May 29, 2022
@Lipata Lipata reopened this May 29, 2022
@Timmeeeey
Copy link
Author

@Lipata Hi, is there any update on this?
I have another use case where I would need this functionality:
When I use remote binding and I remotely filter with multiple fields, not all results are displayed because on the client side filtering is done again and it is filtered only by the displaykey.

@Lipata
Copy link
Member

Lipata commented Jun 28, 2022

Hi, @Timmeeeey.

For me, it is always better to have a custom filter function. I can initiate an internal discussion, which will need to clarify that and after that, we will discuss when we can start working on that.

Regarding your last scenario - when you are having a remote filter, why do you need to have client one? Can you share an example in order to investigate further?

@Timmeeeey
Copy link
Author

@Lipata
A custom filter function would be great.

If I want to have a search input I have to set [filterable]="true" but then the result is automatically filtered on client side.
But I just found out that I have to cancel the searchInputUpdate event then it works.

@Lipata Lipata added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Jul 11, 2022
@wnvko wnvko self-assigned this Jul 11, 2022
@Lipata Lipata removed the 🛠️ status: in-development Issues and PRs with active development on them label Jul 11, 2022
@Lipata Lipata added the ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. label Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
combo 🧰 feature-request ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants