Expand my Community achievements bar.

Restrict tag field to max 2 tags TouchUI

Avatar

Level 4

I have a dialog field of following resource type 

sling:resourceType="cq/gui/components/coral/common/form/tagfield".

 

I would like to allow authors to select maximum of two tags. How to achieve this ? 

4 Replies

Avatar

Level 4

@JeevanRaj I saw this as well. But this is being done on a tagpicker. Not on a "cq/gui/components/coral/common/form/tagfield"