Input_Autocomplete

Input_Autocomplete (ODC)

Stable version 0.1.1 (Compatible with ODC)
Uploaded on 17 October 2023 by OutSystems Labs
Input_Autocomplete

Input_Autocomplete (ODC)

Documentation
0.1.1

Library containing the reusable UI block (component/widget) to allow an autocomplete feature for inputs in ODC Applications.

Migrated from the O11 version available in the Forge.


Application containing the reusable block (component/widget) which allows to have an input with the autocomplete feature in Reactive Applications.


This widget displays suggestions below a text input field. The list of suggestions is fed by an input parameter list, and the filtering occurs on the client side using a 'LIKE "%xxx%"' condition to find the respective matches.


If needed, it is always possible to adapt the existing block to be full server side. For that, one suggestion is to just clone the widget (copy paste the widget to one of your modules and make sure you don't bring unnecessary references), use an aggregate to feed the suggestions list instead of the input parameter list, and it should be ready to be used.


How to use?

  1. In your application where you want to add the feature, add a dependency to Input_Autocomplete UI block from the Input_AutocompleteODC source.
  2. Drag and drop the block where you want to use it.
  3. Optional input values:
    1. MinNumberCharacters - the minimum number of characters to trigger the autocomplete search.
    2. MaxNumberOfItems - the max number of items displayed to the user available for selection.
    3. InputPrompt - set the prompt of the input widget.
    4. IsValid - sets the Valid property of the input widget
    5. ValidationMessage - sets the ValidationMessage property of the input widget
    6. IsEnabled - sets the Enabled property of the input widget
    7. IsMandatory - sets the Mandatory property of the input widget