17
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?

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.

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 

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

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

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.


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.

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

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

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

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.