MultiSelect
Multiple selection with removable tags, optional search and native form values. Selection stays open; ref/native attributes target the combobox control.
Использование
Дизайн
Валидация
Дизайн
Дизайн
Дизайн
Состояния
Дизайн
Дизайн
Дизайн
Дизайн
API
| Проп | Тип | По умолчанию | Описание |
|---|---|---|---|
options* | readonly MultiSelectOption[] | — | — |
value | readonly string[] | — | — |
defaultValue | readonly string[] | [] | — |
onValueChange | (values: string[]) => void | — | — |
open | boolean | — | — |
defaultOpen | boolean | | — |
onOpenChange | (open: boolean) => void | — | — |
withSearch | boolean | | — |
clearable | boolean | | — |
clearLabel | string | Очистить выбор | — |
onClear | () => void | — | — |
placeholder | string | Select | — |
label | ReactNode | — | — |
description | ReactNode | — | — |
validationMessage | ReactNode | — | — |
validationStatus | "default" | "success" | "error" | default | — |
disabled | boolean | | — |
readOnly | boolean | | — |
required | boolean | | — |
name | string | — | — |
form | string | — | — |
autoComplete | string | — | — |
emptyContent | ReactNode | Ничего не найдено | — |
Last updated on