Highlighted

Tags picker required(Boolean) validation

anshumank367659

01-12-2017

hi All,

I have set required(Boolean) true for the overlayed tagpicker widget.(/libs/cq/gui/components/common/tagspicker/render.jsp) This widget is used as a part of my custom page properties. But even though i select a single value in the tagpicker, the create button is not enabled. I observed that i have to at least select two tagpicker values to qualify the required(Boolean) criteria. Please help me on this issue.

Many thanks for your responses.

Replies

Highlighted

smacdonald2008

01-12-2017

We noticed a few days ago - Tag Picker was missing from Granite Docs:

Welcome to Granite UI’s documentation! — Granite UI 1.0 documentation

We logged a bug to get the Tag Picker REF back into the Granite Docs.

.

For this question - we will ask internal ppl as this use case is not documented.

Highlighted

smacdonald2008

01-12-2017

We got this reply from one of our Touch UI Experts --

Tags picker has no support for required until 62, so I have published this blog post, not sure if it changed in 63

http://experience-aem.blogspot.com/2016/08/aem-62-touch-ui-create-page-wizard-set-tags-widget-requir...

Hope this helps...

Highlighted

anshumank367659

04-12-2017

Sharing my research and concept on the subject Tags Picker Vs Tag Field. Go for Tags Field (/libs/cq/gui/components/coral/common/form/tagfield) as the other is deprecated from 6.3. The validation can be easily made on the field by simply applying the property required(Boolean) true. Thanks Scott for the guidance.

Highlighted

smacdonald2008

04-12-2017

YOu are correct in that moving forward - all articles we write will use Coral Data Types as opposed to granite. We are releasing this one that shows how to work with Coral Multi field this week.

Scott's Digital Community: Creating a Coral 3 Multifield HTML Template Language component for Adobe ...

Highlighted

Kunwar

Employee

12-03-2018

Tagpicker has been deprecated in 6.3 as this coral Ui 2. You need to use /libs/cq/gui/components/coral/common/form/tagfield going forward which coralui3 based widget.

Highlighted

nurbeku40282379

12-03-2018

hi Kunwar

I am aware of that. I need tagpicker as I am developing for 6.2. And from what I know tagfield was introduced only in 6.3, as I can't find it on my 6.2 instance.

Thanks

Highlighted

Kunwar

Employee

16-03-2018

In 6.2, Tagpicker doesn't support the required property as the code to support it doesn't exist. This was fixed in 6.3 for sure.  Adobe Internal reference: CQ-95783  if required.