24
Views
7
Comments
Dropdown box is not selecting by typing first letter
Question

I have more than 15000 last and first names in my dropdown box. When I type  first letter, it is not selecting an item from dropdown. Any idea? Thank you

2023-03-16 16-29-51
Paulo Rosário

Hello Edward, 

If you are using the Dropdown Search component for Outsytems make sure that on the OnChange Event, you refresh the source of your list.

You can also set the Max number of records of your aggregate to a higher value in order to fetch more data. 

Hope it helps!

Paulo Rosário

UserImage.jpg
Edward Muratov

I am using a regular dropdown because it's a part of my form. I cannot use Dropdown Search.

2023-03-16 16-29-51
Paulo Rosário

Well, there lies your issue.

Its more difficult to implement what you need with a normal dropdown. Using a dropdown Search will get you the best results.

You can use a Dropdown Search inside a form you just have to assign the selected value to your form attributes on the OnChange event.

2018-01-05 02-53-30
Grayson Udstrand

Yes, dropdowns only load so many records. For performance reasons, it is recommended you use a lazy-loading widget for dropdowns that have tons of records. Here is one that I've used in the past: LazyDropdownSearch - Overview | OutSystems

Hope this helps!

UserImage.jpg
Edward Muratov

I am using a regular dropdown because it's a part of my form. I cannot use Dropdown Search.

2018-01-05 02-53-30
Grayson Udstrand

What do you mean by that? You can have a dropdown search widget within your form. That's what it's made for. Are there other requirements that prevent you from using a dropdown search? Because honestly asking a user to scroll through 15,000 possible selections to find the one they need is bordering on an impossible task. 

2023-10-21 19-42-11
Tousif Khan
Champion

Hello @Edward Muratov 

Are you fetching the data from aggregate, If yes then what is the max record property of your aggregate?

Thanks
Tousif Khan

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