Versions Compared

Key

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

...

The fully qualified class name of the horizontal layout is info.magnolia.ui.framework.layout.HorizontalLayoutDefinition ($type alias horizontal).

Code Block
languageyml
titleExample horizontal layout definition
collapsetrue
composite:
  $type: compositeField
  label: Name
  layout: horizontal
  fields:
    - name: salutation
      label: Salutation
      $type: select
      options:
        - name: Mr.
          value: Mr.
          label: Mr.
        - name: Mrs.
          value: Mrs.
          label: Mrs.
    - name: firstName
      $type: text
      label: First name
    - name: lastName
      $type: text
      label: Last name

Tabbed layout

With the tabbed layout, you can add or remove tabs and fields. It is not possible to change how any tabs and fields are rendered. Use this layout class when the need for customization is minimal.

...