items are strings, or tables like { id, name?, icon? }. Value is the id of the selected item.
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.