

Every state


default


focus


ticked


filtered


filled


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "columns" | Id prefix for the lists, the heading and the error. |
| name | string | "columns" | Form name; one hidden input per value in the Selected list. |
| label | string | "Report columns" | Heading over both lists, and the group's name. |
| availableLabel | string | "Available" | Title of the left list. |
| selectedLabel | string | "Selected" | Title of the right list. |
| items | { value: string; label: string }[] | ten report columns | Every item, in the order both lists show them. |
| defaultValue | string[] | ["order", "date", "total"] | Values in the Selected list at the start. |
| defaultChecked | string[] | – | Values ticked at the start, in either list (for previews). |
| onChange | (values: string[]) => void | – | Called with the Selected values after every move. |
| error | string | – | Error under the lists. |
| disabled | boolean | – | Disables the filters, the tick boxes and the move buttons. |
| className | string | – | Extra classes on the group. |
More multi-selects
All 6multi-select-06 is in UI ProGet UI Pro, €199


