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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Restrict tag field to max 2 tags TouchUI

Avatar

Level 2

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 2

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