Search in Lookup fields

In Latin America, the use of accented words is common, so it is possible to do searches in the lookup fields omitting the accents?
image
When looking for Cholera (COLERA) when searching for content, COL should show all records that contain COLERA

Any way to exclude accent in searches?

Nelson F

Hi, @nelsonflorez

This question is not easy to answer and requires some research. I’ll asnwer you as soon as possible.

Regards,
Daniil.

Hi @tsarev, any answer about it? I tried to use suggestionfield and I found myself with the same problem.

Hello, @nelsonflorez

It seems that this problem should be solved in scope of CUBA platform.

So I created an issue in YouTrack: link.

Regards,
Daniil.

Hello, @nelsonflorez

We’ve introduced FilterPredicate API for LookupField implementations that will help you to solve the problem: GitHub.

You can find a demo for this API here: GitHub.

Regards,
Daniil.

thx @tsarev I’m going to review the demo