Skip to content

How to search using fields other than option array #215

@aniyanm

Description

@aniyanm

Below is my user array.
[{name:'joe',id:1, email:'joe@example.com'}, {name:'zoya',id:2, email:'zoya@example.com'}, {name:'kim',id:3, email:'kim@example.com'}, {name:'mark',id:4, email:'mark@example.com'}]

I am using the name and id field as label and value respectively in my multi-select option array.
When I search the name it works fine, but I would also like to search using email as well. So is there any way I can achieve the same?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions