easy-forms
Form components

Multi-select

Multiple choices from a list, with optional "select all".

Stores value[] (an array of selected option values).

Preview
Live

Options

PropTypeDefaultDescription
optionsOption[]Static list of selectable options.
loadOptions(values) => Option[] | Promise<Option[]>Load options dynamically.
enableSelectAllbooleanShow a "select all" affordance.
placeholderstringPlaceholder when nothing is selected.

Validators

Array validators apply: required, minLength, maxLength (counts selections), and custom.

On this page