Optionaldata: MenuChoiceConfigsJsonOptional JSON object with selectable, defaultValues, and callback.
Returns true when the choice menu allows multi-selection.
Sets whether the choice menu allows multi-selection.
True to enable multi-selection.
Returns the list of pre-selected option names.
Replaces the pre-selected option names.
Array of option names to pre-select.
Returns the page size for scrollable choice lists, or undefined for no limit.
Sets the maximum number of visible rows before scrolling kicks in.
Number of rows, or undefined to disable paging.
Returns the submission callback, or undefined if not set.
Sets the callback invoked when the user confirms a selection.
Async callback receiving the menu and selected values.
Serialises the config to a plain JSON-compatible object.
ProtectedselectableProtecteddefaultProtected OptionalpageProtected Optionalcallback
Creates a new MenuChoiceConfigs with defaults.