Search with one more value

Today, I will show you how to display different value on list and how to search from another value.

When i was doing my project, i have to display list item with different search value. So i have customized bootstrap for this.

To do this use attribute “renderField”.

Example :


     renderField: "display_text",


you have to add this renderField into data object.

Data object example :

item = {}

item.display_text = "searchvalue1 searchvalue2";

item.value= "displayvalue";

When you type searchvalue1  or searchvalue2 or displayvalue. This item will show in all three search. and it will display displayvalue only.


#codewithgeek #codewithjaydip

Author: Jaydip Panchal

Hello, This is jaydip panchal here, who do code, dream code, eat code, drink code, walk code. #CodeWithJaydip #CodeWithGeek

Leave a Reply

Your email address will not be published. Required fields are marked *