Hello,
I am relatively new to AEM development but having an issue with the OOTB tagfield. We are using AEM 6.4.
I have a content fragment model with a defined element as:
<_x0031_597436678283
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/tagfield"
fieldLabel="Platforms"
forceSelection="true"
listOrder="23"
metaType="tags"
multiple="true"
name="platforms"
renderReadOnly="false"
rootPath="/content/cq:tags/Platforms"
showEmptyInReadOnly="true"
valueType="string[]"/>
Leveraging the tags, I can select as many options as I want as defined in the tag. Once added, I can only remove tags as long as at least one tag is still selected; I cant remove them all.
IE. If I select A, B, and C from the tagPicker. Save. When I go to modify, if I try to remove all three and save, no update is made. If I try to remove two of the options, it will save just fine. However, after removing the two, I can never remove the final one (it wont save.)
Is there a way to get around this? Not exactly sure what I am missing.