Anywhere in the words

Hello good day

Is there any way for the autocomplete to search me anywhere in the phrase? and search between uppercase and lowercase.


3 Replies

SS Selvamani Sankarappan Syncfusion Team March 15, 2018 05:39 AM UTC

Hi Norberto,   
   
Thanks for contacting Syncfusion Support.   
   
Yes, you can search the text at anywhere in Autocomplete popup using property of filterType as contains. Also, you can enable or disable the case sensitive search by using caseSensitiveSearch property. By default, it’s in disable state. Please refer to the following code example:   
   
$('#selectCar').ejAutocomplete({   
            width: "100%",   
            watermarkText: "Select a car",   
            dataSource: carList,   
            caseSensitiveSearch: true   
            filterType: "contains"   
        });   
   
Refer to the following sample:   
   
Refer to the following API link:   
   
Please let us know if you need any further assistance.   
   
Regards,   
   
Selvamani S.   



NO Norberto March 15, 2018 07:48 PM UTC

Thank you very much Selvamani S.
It works perfectly


SS Selvamani Sankarappan Syncfusion Team March 16, 2018 04:03 AM UTC

Hi Norberto, 
 
Thanks for the update. 
 
Let us know if you need any further assistance. 
 
Regards, 
 
Selvamani S. 


Loader.
Up arrow icon