Kendo UI combo box search special character

1 Answer 214 Views
ComboBox
Arun
Top achievements
Rank 1
Arun asked on 16 Mar 2022, 12:35 PM | edited on 18 Mar 2022, 04:32 AM

Hi,

I have an entry in my Knedo UI comboBox as 'Aré John'  While searching, if i use 'are' search is not working. Is there any way to search diacritics in Kendo Ui combo box or any work around to search above criteria. appreciate your help on this

 

$("#EmpList").kendoComboBox({
        placeholder: "search",
        dataTextField: "EName",
        dataValueField: "EID",
        dataSource: mdpList,
        filter: "contains",
        autoBind: true,
        minLength: 2,
        highlightFirst: true,
        change: onValueChange,
    });

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 21 Mar 2022, 08:49 AM

Hi Arun,

The default filter in Kendo ComboBox is comparing strings. If you type 'Aré' the 'Aré John' should be present in the results, but it is not expected to have the same result if you type 'e' as it has a different Unicode. If you need a different behavior you could prevent the default of the ComboBox filtering event and filter the dataSource manually.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ComboBox
Asked by
Arun
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or