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?
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.