90
Views
9
Comments
Solved
Dropdown Search is ignoring some characters and returning more results than expected
Application Type
Reactive
Service Studio Version
11.53.43 (Build 62091)
Platform Version
11.18.1 (Build 37828)

I wrote the text with dots and the component returns items as if it were ignoring the dots.


Why does this happen?
And how to fix it?

2022-02-24 15-48-56
Leonardo Porto
Solution

It finally works.
I've added these dependencies.
I called this function in the "initialized" handler of the dropdownsearch component.
And I configurated this option.


Thanks for your help.

2024-11-20 08-28-20
Pedro Marques

Hi Leonardo,

Take a look at this link.

I think you need to use the AdvancedFormat to do this because the component has some kind of "smart filtering" where options are returned even if they do not match 100%.

Hope this helps,

Pedro 

2022-02-24 15-48-56
Leonardo Porto

Thanks, but in this version, I don't have AdvancedFormat. Or I don't know where to find it. 

2024-11-20 08-28-20
Pedro Marques

Yeah, you're right. It looks like it was removed in the new versions.

Luckily, you can still do it with JavaScript. Take a look here

2024-11-20 08-28-20
Pedro Marques

These are probably the client actions that Dorine has mentioned in her comment. 

Might do the trick as well and is probably easier to implement and maintain than using JavaScript.


2022-02-24 15-48-56
Leonardo Porto
Solution

It finally works.
I've added these dependencies.
I called this function in the "initialized" handler of the dropdownsearch component.
And I configurated this option.


Thanks for your help.

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi, 

I'm not at a computer right now, so can't check, but OS is moving away from advanced format option towards parametrizing using client actions in the Initialized event of their widgets.

Worth to take a look if they offer a client action for dropdown search options.

Dorine

2022-02-24 15-48-56
Leonardo Porto

Thank you for your help.
Your tip was very useful.

2023-01-26 16-03-24
Ana Agostinho

Hello Leonardo, 

A few days ago, there was a post concerning not dots but Korean and Japanese characters. Look at the suggestions made, the solution proposed might also apply to your dots situation. 

Best regards, 

Ana

2022-02-24 15-48-56
Leonardo Porto

Thanks for your help, but I ended up finding another solution.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.