AutocompleteCombobox
Wrapper for Autocomplete with the ability to select an action when user input is not valid.
Note
Options
Autocomplete
AutocompleteString
Autocomplete.
AutocompleteToggle
Button
Button to show autocomplete values.
IfInvalid
InvalidMode
Action when user input is invalid:
Ignore
,FocusInputField
,ResetInputField
.
MultipleSelect Combobox with Autocomplete
How to combine ComboboxMultiselect
with Autocomplete
:
Create
ComboboxMultiselect
andAutocomplete
of required typemove
Autocomplete.InputField
next toCombobox.Current
and addLayoutElement
with specifiedMinWidth
move
DisplayListView
andTargetListView
next toCombobox.ListView
and addLayoutElement
with enabledignoreLayout
copy
RectTransform
settings andDataSource
fromCombobox.ListView
to theDisplayListView
andTargetListView
TargetListView
: enableMultipleSelect
Combobox
: specifyTargetListView
asCombobox.ListView
delete or disable the previous
Combobox.ListView
Autocomplete
:OnOptionSelected
event: add resetInputField.text