Tags inside multifields
Hello,
I created in dialog a new multifields with text and tags field into the form.
I tried to select and save more than one tag inside the multifileds without succeed.
I notice that if I put the tag outside the multifields, everything works fine.
Below my code:
<tags
cq:showOnCreate="{Boolean}true"
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/common/tagspicker"
allowBulkEdit="{Boolean}true"
allowCreate="{Boolean}true"
cq-msm-lockable="cq:tags"
fieldLabel="Tags"
name="./cq:tags" />
<geolocalizedText
jcr:primaryType="nt:unstructured"
sling:resourceType="silversea/silversea-com/ui/components/foundation/form/multifields"
fieldLabel="Geolocalized Text">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/fieldset"
class="multifields-wrapper"
name="./geolocalized"
<items jcr:primaryType="nt:unstructured">
<text
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/textfield"
fieldLabel="Text"
name="text" />
<tags
cq:showOnCreate="{Boolean}true"
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/common/tagspicker"
allowBulkEdit="{Boolean}true"
allowCreate="{Boolean}true"
cq-msm-lockable="cq:tags"
fieldLabel="Tags"
name="tags" />
</items>
</field>
</geolocalizedText>
The green one works with this output in crxde
cq:tags String[] geotagging:eu, geotagging:as, geotagging:uk
The yellow one doesn’t work, it saves only the last selected tag:
geolocalized String {"text":"lblj","tags":"geotagging:uk","tags@TypeHint":"String[]","tags@Delete":""}
How can I possible to achieve my goal ?
Is there any workaround ?
Thanks