Created on 17 February 2020
icon_unfollowing
Login to follow
lazydropdownsearch

LazyDropdownSearch

Stable version 1.2.8 (Compatible with OutSystems 11)
Uploaded on 14 November 2023 by 
lazydropdownsearch

LazyDropdownSearch

Documentation
1.2.4

This component has the following advantages over the DropdownSearch component from OutSystemsUI:

  • 'Lazily' fetch the dropdown values based on the search text
    • Very convenient when there are a lot of possible values
  • Easier validation because of built-in IsValid and ErrorMessage properties
    • Show the field as invalid using the IsValid property
    • Show a validation message using the ErrorMessage property


Note: You can use this component as a drop-in replacement for the DropdownSearch widget. Is you set the property AutoFilter to True, then it behaves exactly like the DropdownSearch widget. In that case you don't fetch the data 'lazily', but you provide the fill list of items to the component as you would do with the DropdownSearch widget.


Lazily fetching the dropdown values


The component throws an OnFilterValueChanged event that you can handle.

Based on the FilterValue in the event, you update the list that is passed as the SearchResultValues parameter:

Every time the user types in a new search term, the event is triggered and you refresh your aggregate or data action that fetches the dropdown values (SearchResultValues).


1.2.2

This component has the following advantages over the DropdownSearch component from OutSystemsUI:

  • 'Lazily' fetch the dropdown values based on the search text
    • Very convenient when there are a lot of possible values
  • Easier validation because of built-in IsValid and ErrorMessage properties
    • Show the field as invalid using the IsValid property
    • Show a validation message using the ErrorMessage property


Note: You can use this component as a drop-in replacement for the DropdownSearch widget.  Is you set the property AutoFilter to True, then it behaves exactly like the DropdownSearch widget.  In that case you don't fetch the data 'lazily', but you provide the fill list of items to the component as you would do with the DropdownSearch widget.


Lazily fetching the dropdown values


The component throws an OnFilterValueChanged event that you can handle.

Based on the FilterValue in the event, you update the list that is passed as the SearchResultValues parameter:

Every time the user types in a new search term, the event is triggered and you refresh your aggregate or data action that fetches the dropdown values (SearchResultValues).


1.1.7

The component throws an OnFilterValueChanged event that you can handle.

Based on the FilterValue in the event, you update the list that is passed as the SearchResultValues parameter:


Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
See all 1 dependencies