Stage templates 

The Stage component renders each form element as an HTML item in the abstract view. This section explains the two rendering strategies: the modern web-component approach (recommended) and the legacy Fluid-partial approach (deprecated).

Custom Fluid partial (advanced) 

If you need fully custom stage rendering – for example to display a proprietary summary of complex properties – you can still provide a Fluid partial and subscribe to the view/stage/abstract/render/template/perform event to populate it with DOM manipulation.

The core Fluid partials are located in EXT:form/Resources/Private/Backend/Partials/FormEditor/Stage/.

Stage/SimpleTemplate (deprecated) 

Displays the element label. When the element has validators, a validator icon and their labels appear on hover/selection. Rendered via the deprecated renderSimpleTemplateWithValidators().

Deprecated since version 14.2

Stage/SelectTemplate (deprecated) 

Extends Stage/SimpleTemplate by additionally listing the chosen option labels from properties.options.*. Rendered via the deprecated renderSelectTemplates().

Example form element using select options:

type: MultiCheckbox
identifier: multicheckbox-1
label: 'Multi checkbox'
properties:
  options:
    value1: label1
    value2: label2
Copied!

The template partial contains a container with the path to read:

<div data-identifier="multiValueContainer"
     data-template-property="properties.options"></div>
Copied!

For elements using a different array property (e.g. FileUpload with properties.allowedMimeTypes), adjust the data-template-property attribute accordingly:

<div data-identifier="multiValueContainer"
     data-template-property="properties.allowedMimeTypes"></div>
Copied!

The web component handles both cases automatically.

Deprecated since version 14.2