Versions Compared

Key

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

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.

TwinColSelectFieldDefinition extends the AbstractSelectFieldDefinition class.

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 properties

Field-specific properties

leftColumnCaption

optional

Text displayed above the left column. The value is i18n-able.

rightColumnCaption

optional

Text displayed above the right column. The value is i18n-able.

Common select field properties

Include Page
_Common select field properties
_Common select field properties

Common simple field properties

Include Page
_Common simple field properties
_Common simple field properties