Methods
filterDuplicates(list)
Filters out empty items and duplicate items. Compares both label and value
properties.
Parameters:
Name | Type | Description |
---|---|---|
list |
Array | A list of label-value objects. |
- Source:
filterEmptyStrings(list) → {Array}
Filters out empty strings from the passed in array.
Parameters:
Name | Type | Description |
---|---|---|
list |
Array | The list of strings to filter. |
- Source:
Returns:
The filtered list.
- Type
- Array
trimListItems(list)
Trims whitespace in list items for ClayMultiSelect.
Parameters:
Name | Type | Description |
---|---|---|
list |
Array | A list of label-value objects. |
- Source: