Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: MOTION-157

...

Simple expanding text field definition:

5
Localtab Group
Localtab
activetrue
titleYAML file
Code Block
languageyml
authorBio:
  fieldType: expandingText
  rows: 2
  maxRows: 5
#  label: Author biography
#  placeholder: Provide some info about the author ...
Localtab
titleJCR node
Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

Node name

Value

Mgnl n
fields

Mgnl n
authorBio

Mgnl p
fieldType

expandingText

Mgnl p
rows

2

Mgnl p
maxRows

Include Page
_Referencing fields shortcut info - 5 UI
_Referencing fields shortcut info - 5 UI

...

<field name>Name of the field.

maxRows

optional, default is 10

Maximum number of rows to which the field may expand before showing a scrollbar.

rows

optional, default is 1

Number of text rows for the initial state of the field.

This property is defined in TextFieldDefinition.

Common field properties:

...