multiSelect. It filters the list as the player types.
Properties
string
The label.
string
Hint text under the label. Optional.
string | number
An icon shown beside the label. Optional.
{ string }
default:"{}"
The choices.
string | { string }
The initial selection. A string in single mode, a table in multi.
boolean
default:"false"
Allow more than one option at a time.
string
default:"None"
Shown when nothing is selected.
string
default:"derived from name"
The save key. Optional.
boolean
default:"false"
Skip saving.
function
Runs with the selection. A string in single mode, a
{ string } in multi. The table is a copy, so keeping or editing it won’t affect the dropdown.Handle
{ string }
The current selection. Always a table, even in single mode — the choice is the first entry.
Only the callback unwraps it to a bare string in single mode.
Set the selection.
Replace the whole option list. Anything selected that is no longer an option is dropped, and the callback runs if that changed the selection.
Add one option. It respects an open search, so it stays hidden until it matches.
Remove one option. Removing a selected one clears it from the selection and runs the callback.