Transfer List
Formsatlas-transfer-listExamples
Basic
Move items between the two lists; the value holds the target values.
Available 0/4
- Write
- Delete
- Share
- Admin
Assigned 0/1
- Read
Assigned: read
Search, titles and events
filterable adds a search field to each list. sourceTitle / targetTitle name the lists, a disabled item cannot move, and (transferred) reports every move.
Available permissions 0/4
- Write content
- Publish
- Invite members
- Manage billing (owners only)
Granted to Editors 0/1
- Read content
Granted: 1
API
Generated from the library source, so it always matches the code.
AtlasTransferListComponent atlas-transfer-list
| Input | Type | Default | Description |
|---|---|---|---|
| items required | TransferListItem[] | — | value is in value show in the target list, the rest in the source list. |
| value two-way | string[] | [] | |
| sourceTitle | string | undefined | undefined | transferList.source . |
| targetTitle | string | undefined | undefined | transferList.target . |
| filterable | boolean | false | |
| searchPlaceholder | string | undefined | undefined | transferList.searchPlaceholder . |
| showMoveAll | boolean | true | |
| ariaLabel | string | null | null | |
| inputId | string | undefined | undefined | id of the control's group, so aria-labelledby elsewhere can point at it. Inside atlas-form-field the field supplies one and its label names the group. |
| ariaDescribedBy | string | null | null | aria-describedby , merged with the surrounding form field's hint or error. |
| class | string | '' | cn() ; yours win on conflicts. |
| Output | Payload | Description |
|---|---|---|
| transferred | TransferListChangeEvent | change : a native change event from the search inputs would bubble to the same (change) binding. |
Types
TransferListChangeEvent
| Property | Type | Description |
|---|---|---|
| source | string[] | |
| target | string[] |
TransferListItem
| Property | Type | Description |
|---|---|---|
| value | string | |
| label | string | |
| disabled? | boolean |