65
Views
4
Comments
Solved
[OutSystems UI] Dropdown Search - Outsystems UI 2.12.0 - Search only from start
outsystems-ui
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Hello,

On the new dropdown search, is there a way to enable the search from start only? 

It would also be handy to have a parameter to enable\disable the search on the description, as currently it's always searching on this field.

Best regards,

Bruno Lourenço

2022-04-08 16-49-21
José Rio
Solution

Hi @Bruno Lourenço,

Do not know if you are aware that the Dropdown is created on top of VirtualSelect library, that said, I believe you are searching for searchByStartsWith capability right?
If so, you can use the SetVirtualSelectConfigs client action (check it at the image below).

If you want to check more about this extensibility client actions, take a look at here.
You can also check this article from our TeamMate @Bernardo Cardoso! 

Let me know if it helps!

Cheers,
JR

Screenshot 2022-12-12 at 14.36.18.png
2022-06-06 09-58-43
Gourav shukla

Hi, 

  Can you provided screenshot with more details or send the .OML  if possible so I can help you further? 

I am also send my .OML file where I used dropdown search  maybe it will help you.

Thanks 

DropDownSearch.oml
2018-10-26 08-28-45
Bruno Lourenço

Hello Gourav,

First, thanks for the quick reply.

As you can see on this screen shot, I have a dropdown to select categories. where each category as a letter, and a description shown below the label (using the description field available on the new structure of the dropdown search). I would like that when I type A, for example, it would show only category A, but it's showing more options, because the letter A is present in the description of the other options.

This could be fixed with an option to search from start only (on this case searching by "A%" instead of "%A%"), or additionally by disabling the search on the description.


Best Regards,

Bruno Lourenço

2022-04-08 16-49-21
José Rio
Solution

Hi @Bruno Lourenço,

Do not know if you are aware that the Dropdown is created on top of VirtualSelect library, that said, I believe you are searching for searchByStartsWith capability right?
If so, you can use the SetVirtualSelectConfigs client action (check it at the image below).

If you want to check more about this extensibility client actions, take a look at here.
You can also check this article from our TeamMate @Bernardo Cardoso! 

Let me know if it helps!

Cheers,
JR

Screenshot 2022-12-12 at 14.36.18.png
2018-10-26 08-28-45
Bruno Lourenço

Hello José,

Exactly what I was looking for, it works like a charm. 

I was looking for a way to set that property, but I completely missed that action. 

Thanks for your help.

Best Regards,

Bruno Lourenço

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