items are strings, or tables like { id, name?, icon? }. Value is the id of the selected item.
| Value type | string? (selected id) |
| Items | string or ListItem |
| Created by | Section:AddList |
Creation
SetItems
AddItem
RemoveItem
SetSelected
nil to clear.
GetSelected / GetSelectedItem
GetSelectedItem returns the full item table.
SetShowSearch
SetMaxHeight
SetEmptyText
SetPlaceholder
AddFilter
comparator, the built-in default is used.
RemoveFilter
SetFilter
nil to clear.