Skip to content

Instantly share code, notes, and snippets.

@fredrick-dominy
Last active January 12, 2018 00:50
Show Gist options
  • Save fredrick-dominy/bc81dc19ade1bb04702b2f251547fe49 to your computer and use it in GitHub Desktop.
Save fredrick-dominy/bc81dc19ade1bb04702b2f251547fe49 to your computer and use it in GitHub Desktop.
TouchUI Multifield 6.3
<!-- Coral Multifield 6.3 -->
<multifield_container
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
composite="{Boolean}true"
deleteHint="{Boolean}true"
fieldDescription="Multifield Description is here."
fieldLabel="Multifield Label is here"
required="{Boolean}false"
typeHint="String[]">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
name="./fieldItems">
<items jcr:primaryType="nt:unstructured">
<text
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textarea"
emptyText="Add content here."
name="text"
fieldLabel="Content"
required="{Boolean}true"/>
</items>
</field>
</multifield_container>
<!-- Coral Multifield 6.3 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment