Hi Team,
May I know what is the resource type for tagspicker in AEM cloud. I found the below from core components. But selectionCount property is not working to select only one value.
"cq/gui/components/common/tagspicker"
Or any alternate approach please?
Thank you!
Solved! Go to Solution.
Views
Replies
Total Likes
tagfield is also working for me & it allows multiple selections by default. We can restrict it by adding this property to allow only single tag.
multiple boolean false.
My ask is, do we have any alternate resource type(granite) for tagspicker (other than mentioned above) in cloud & why the property selectedCount is not working?
Thank you!
@Lakshmi9 Below is the code that worked in AEM cloud
<pdp
jcr:primaryType="nt:unstructured"
sling:resourceType="/libs/cq/gui/components/coral/common/form/tagfield"
fieldLabel="Select Tag"
name="./pdpLinkUrl"
rootPath="/content/cq:tags/xxx"/>
but i don't understand why you need a tag selector field if you want to select only 1 selection . Why not use select dropdown
tagfield is also working for me & it allows multiple selections by default. We can restrict it by adding this property to allow only single tag.
multiple boolean false.
My ask is, do we have any alternate resource type(granite) for tagspicker (other than mentioned above) in cloud & why the property selectedCount is not working?
Thank you!
Can you please point out where this property is used in core component(github). It could be a custom implementation.
I am not able to find at https://github.com/adobe/aem-core-wcm-components
I have also checked the /libs/cq/gui/components/common/tagspicker/render.jsp in 6.5, I can't see selectedCount property.
Hi @arunpatidar
I'm using cloud sdk in my local & found tagspicker in the below path.
/libs/foundation/components/list/cq:dialog/content/items/column/items/setTags/items/well/items/tags
sorry it's selectionCount. Some typo..
Ref:
Thank you!
Views
Likes
Replies