36
Views
5
Comments
Dropdown select flexible search
Question

Hi everyone,


I have a combobox with a dropdown select, source attribute is a string (calculated attribute) of FirstName + LastName + ClientNumber + Email.


Searching on parts of the string is working well, but I would like to search using keywords in a random order.


Example: when I search "Doe Jane" or "janesmail 88"

I would like it to return the result

"Jane Doe 88 janesmail@example.com".


Does anyone know if and how this is possible?


Thanks in advance!

Rank: #500

Hi Willemijn,

Please see this post https://www.outsystems.com/forums/discussion/28636/search-for-tect-in-any-order/
I think it has everything you need to know about this topic.

Let me know if this helps,

Pedro

Hi Pedro,

Thanks for your help! 

I might have to go for that alternative, but was hoping I could get the same behaviour while still using a dropdown select. It has an advanced format property that allows for some tweaking, but I can't find what I need in the documentation (https://github.com/jshjohnson/Choices). 

Willemijn


Rank: #144

Hi 

Please check this sample App.

with attached .oml.


Vijay M-



DropdownSearch.oml

Thank you Vijay! That's with a dropdown search though :) I would like it to work with the dropdown select component (OutSystemsUIWeb traditional web) 

Rank: #144

Hi Willemijn,

Please refre attached oml for  traditional web .

Hope this helps you!

Vijay M-

DropdownExample.oml