Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Restrict tagpicker field for single tag selection

ashisht85509954
Level 2
Level 2

As we know tag picker field in AEM is multiselect, is there a way we can restrict a tag picker field for single tag selection only.

1 Accepted Solution
Bimmi_Soi
Correct answer by
Community Advisor
Community Advisor

Hi @ashisht85509954 ,

 

Please try 

selectionCount  (stringel) = single

The count of item to be selected:

single   ---- Only maximum single selection allowed

multiple ----- Zero or more selection allowed

You can also check below documentation-

 

https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

 

Hope this helps!!

Thanks

 

View solution in original post

2 Replies
KiranVedantam1992
Community Advisor
Community Advisor

Hi @ashisht85509954,

 

Please use selectionCount property on the dialog node of the tag picker for your use case

 

https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

Bimmi_Soi
Correct answer by
Community Advisor
Community Advisor

Hi @ashisht85509954 ,

 

Please try 

selectionCount  (stringel) = single

The count of item to be selected:

single   ---- Only maximum single selection allowed

multiple ----- Zero or more selection allowed

You can also check below documentation-

 

https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/granite-ui...

 

Hope this helps!!

Thanks

 

View solution in original post