Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Twin-column field

TwinColSelectFieldDefinition renders two column lists where more than one item can be selected. The left column contains items available for selection, and the right column lists selected items. The component is useful for selecting large sets of items such as group and role memberships.

Table of Contents

Example definition

Code Block
languageyml
twinSelect:
  label: Groups
  $type: twinColSelectField
  leftColumnCaption: "Available groups"
  rightColumnCaption: "User is member of"
  datasource:
    $type: jcrDatasource
    workspace: usergroups
    allowedNodeTypes:
      - mgnl:group

...

Field-specific properties

leftColumnCaption

optional

Text displayed above the left column. Typically retrieved from a message bundle.

rightColumnCaption

optional

Text displayed above the right column. Typically retrieved from a message bundle.

Common select field properties

...