AutoCombobox
Combobox widget combined with Autocomplete widget which allows select item by typing.
Note
Options
Autocomplete
TAutocompleteListView with items.
Combobox
TComboboxButton to show and hide ListView on click.
AddItems
boolCreate a new item and add it to list if item not found with specified input. Requires overrided
TItem Input2Item(string input)method.KeepSelection
boolKeep selected items for Autocomplete.DisplayListView.
Events
OnItemSelected
UnityEvent<int, TItem>The event raised when item selected.
Arguments: index of the selected item and selected item.
OnItemDeselected
UnityEvent<int, TItem>The event raised when item deselected.
Arguments: index of the deselected item and deselected item. | If an item associated with this index is removed the index can be invalid (
>= DataSouce.Count) or point to different item. | The item is not valid if list is cleared or selected item was removed.