How do we get the dropdown list to filter items containing the filtered value? My code below only seems to filter the start of the text. For example, we have customer code and customer number as an item. Sometimes the user wants to search by code and others by customer name.
BTW, I tried this with a dropdown template and it only searched on one of the fields. So I combined the fields at the datasource list call.
<EjsDropDownList TValue="string" TItem="CustomerPickerItem" AllowFiltering=true IgnoreAccent=true Placeholder="Select a customer" DataSource="@CustomerList">
<DropDownListFieldSettings Text="CodeName" Value="CustomerId"></DropDownListFieldSettings>
<DropDownListEvents TValue="string" ValueChange="CustomerPickerChanged"></DropDownListEvents>
</EjsDropDownList>
Data:
001 Mary Smith
234 John Doe
Filters:
"234"
"Doe"