Convertigo Public Knowledge base

Multiple Select with Search Input

 

https://github.com/convertigo/c8oprj-sample-md-select

The mat_selectable SharedComponent has 4 parameters :

  • select_label : Placeholder Text for the Select.

  • search_label : Placeholder Text for the Search Input.

  • select_data : Array of Strings to display in the Select.

  • select_output : Local variable name that contains the Selected options.

In the SharedComponent class, the onKey() function is used to filter the Select options when the Search Input is filled.

(c) Convertigo 2023 https://www.convertigo.com