Richwidget Input AutoComplete Together with Select2

Hi Guys,

Just want to ask if is there a way to use the Richwidget Input AutoComplete together with the silk ui Control\Select2?

 Thank you in advance guys.

Hello Michael,

I don't think so (not sure).
But why would you want to use both together?
They do basically the same thing...?

Cheers.

Michael Chu wrote:

Hi Guys,

Just want to ask if is there a way to use the Richwidget Input AutoComplete together with the silk ui Control\Select2?

 Thank you in advance guys.

Hi Michael,

"Select 2" is just a Javascript widget to help search a Combobox values already loaded on the DOM. You will need to have a combobox previously filled with all the items.

"Autocomplete" is a Javascript widget, associated with an Input (text) that let you decide when and how to search (call a Screen action when a new character is typed or deleted). You can for example check the text length and make a Data Base query only when the text length is greater than 3.


Giving that, Autocomplete is a must have when you have a lot of possible options because if you load all of them inside a Combobox, Browser memory and responsiveness will be compromised. With Autocomplete you just load to the browser records that match the search.

If possible options to search are not so much, a Combobox with Select 2 is the way to go.


In Combobox you get the select Id checking the Combobox variable.

In Autocomplete you get the select Id with the action "Input_AutoComplete_GetIdentifier".


Hope that this little information helps clarify what would make you want to use this 2 widgets together.

How to implement Autocomplete:

https://success.outsystems.com/Documentation/Development_FAQs/How_to_create_a_search_field_with_autocomplete

Eduardo and Alberto,

Thank you for your input and enlightenment. I got it know.

Cheers