Hi guys,
I have a combo and I want that it doesn't filter the results according to accents, p.e: in my list I have the name "José" and if a write it without accent like "Jose" it returns "No Matches Found" and I want that it finds the result. I'll leave here an example of this: http://jsfiddle.net/tr5wzmn6/
Thanks in advance!
Hello João,
Thank you for contacting Infragistics.
igCombo does not support accent folding. You can implement it by canceling filtering event of the combo (https://www.igniteui.com/help/api/2017.1/ui.igcombo#events:filtering), and creating the correct filter expressions by yourself. Our newest method filterByExpressions (not documented yet) could help you with filtering by multiple expressions:
//filter by expression$(".selector").igCombo("filterByExpressions", [{cond: "startsWith", expr: "Smith", logic: "or"}]);
//filter by array of expressions$(".selector").igCombo("filterByExpressions", [{cond: "startsWith", expr: "Smith", logic: "or"}, {cond: "startsWith", expr: "Mary", logic: "and"}]);
//filter by array of expressions and trigger events$(".selector").igCombo("filterByExpressions", [{cond: "startsWith", expr: "Smith", logic: "and"}, {cond: "endsWith", expr: "Sauerkraut", logic: "and"}], true);
Basically you can detect each symbol and add an expression for each accent.
If you use remote data source I recommend to implement entire accent folding logic there and just to return the correct records to the UI.
If you want this feature implemented by our team, please take a look here http://ideas.infragistics.com for how you can submit this idea.
I hope this is helpful.
Please let me know if you need something else.