How AutoCompleteForMendix shows name with accent?

0
Hi guys, Using the AutoCompleteForMendix Widget, how would you go about having someone input a foreign-accented name (with or without the accent) (Luís or Luis) and have them shown the same result: "Luís García"? Thanks!
asked
1 answers
1

It may not be the most elegant solution, but what you could do is store the name in two different attributes: one with accents, and one without. You could then let the autocomplete widget search both (with an OR) to find the right object.

So in your example you'd store Luís García in one, and Luis Garcia in the other attribute. The only problem would happen when someone types in one part of their name with foreign accents and one without, like Luís Garcia, then the autocomplete widget would not return anything.

 

answered