Skip to content

Multi Select

Forms

A dropdown component that allows selecting multiple values from a list with checkboxes. Includes "Select all" and "Clear" actions in a footer at the bottom of the overlay (below the option list), keyboard navigation, and a count badge showing the number of selected items.

atlas-multi-select

Examples

Basic

The value is an array of option values; selected options show as chips in the trigger.

Value: review

With Signal Forms

[formField] binds the selected values; a custom validate rule asks for at least two skills. The field's label names the control and its error describes it.

Pick at least two.

Preselected and disabled options

Start from existing values with [(value)] . A disabled option keeps its place in the list but cannot be toggled, also when it is already selected.

Selected: email, security

API

Generated from the library source, so it always matches the code.

AtlasMultiSelectComponent atlas-multi-select

InputTypeDefaultDescription
options requiredMultiSelectOption[]— The options; disabled options cannot be chosen.
value two-waystring[][] Values of the selected options (two-way, or Signal Forms [field] ).
disabled booleanfalse Disables the control. Set automatically when the control is bound with Signal Forms [field] .
errors readonly ValidationError.WithOptionalFieldTree[][] Validation errors of the bound field. Set by Signal Forms [field] .
required booleanfalse Whether a value is required. Set by Signal Forms [field] .
invalid booleanfalse Whether the field is invalid. Set by Signal Forms [field] .
touched booleanfalse Whether the user has interacted with the field. Set by Signal Forms [field] .
readonly booleanfalse Whether the field is read-only. Set by Signal Forms [field] .
pending booleanfalse Whether async validation is running. Set by Signal Forms [field] .
name string'' Name of the field. Set by Signal Forms [field] .
placeholder string | undefinedundefined Trigger text when nothing is selected. Defaults to the configured multiSelect.placeholder .
ariaLabel string | nullnull Accessible name when no visible label names the control (use one or the other, WCAG 2.5.3).
inputId string | undefinedundefinedid of the focusable element, so a visible <label atlasLabel for="…"> names it. Inside atlas-form-field the field supplies one.
ariaDescribedBy string | nullnull Extra ids for aria-describedby , merged with the surrounding form field's hint or error.
class string'' Extra CSS classes, merged with the component's own through cn() ; yours win on conflicts.
OutputPayloadDescription
touchvoid Emits when the control loses focus, so Signal Forms marks the field touched.

Types

MultiSelectOption

PropertyTypeDescription
value string —
label string —
disabled? boolean —