Skip to content

Container

wcm/dialogs/components/container

Description:

The Container dialog field allows the user to group multiple elements into a container. For example, it is useful for showing or hiding a group of dialog fields.

Example:

"container": {
  "sling:resourceType": "wcm/dialogs/components/container",
  "firstelement": {
    "sling:resourceType": "wcm/dialogs/components/textfield",
    "name": "firstelement",
    "label": "First element"
  },
  "secondelement": {
    "sling:resourceType": "wcm/dialogs/components/textfield",
    "name": "secondelement",
    "label": "Second element"
  }
}