Hi team,
I'm using dropdownsearch widget in my application. I want the search to begin only after user enters 3 or more characters. Can anyone help to achieve this?
Thanks,
Gowtham
yes this is doable using the Dropdown Server Side Pattern (click here to open the official documentation).
Hi Ahmned,
I can't find it in the outsystemsUI module. Mine is a reactive application
Hi Gowtham,
What version of OutSystems UI do you use? This pattern was added in 2.14.0.
Thanks Daryan for your response
I'm using version 2.12. So that's the reason I'm not seeing this pattern
@Gowtham
Easiest solution for normal search input is to check the length of your search variable (in this case SearchKeyword) in the OnSearch action with:
and only refresh your aggregate when the condition is True. Comparing to 0 makes sure the aggregate is refreshed when your SearchKeyword is cleared.
---
For the DropdownSearch widget this isn't easy anymore, because we were able to tweak the DropdownSearch in the past via the AdvancedFormat input. It is however still possible by triggering your own javascript with the correct configurations in the Initialized event:
https://www.outsystems.com/forums/discussion/84589/advanced-format-in-dropdown-search-in-outsystemsui-2-13-0/