MultiSelect
Multiple choice from a checkbox list. Space toggles the highlighted option,
typing narrows the list by substring, Right selects and Left deselects everything
visible, Enter accepts. Pass default (a list of option keys) to pre-check
options - ideal for opt-out lists. Long lists page around the cursor - set the
window with ->pageSize().
$p->multiselect('services', 'Services')->default(['redis'])->options(['redis' => 'Redis', 'solr' => 'Solr', 'clamav' => 'ClamAV']);
For headings, separators and disabled options, see Option groups.
| ANSI | No ANSI | |
| Unicode | ||
| ASCII |