AEM6.3 Touch ui autocomplete coral tags storing as String instead of String[] required for classic dialog

Avatar

Avatar

srinivas_chann1

Avatar

srinivas_chann1

srinivas_chann1

31-07-2019

Hi ,

We are using  AEM6.3 both classic and touch ui dialog.

When using the below autocomplete for tags it storing in crxde as string instead of string[] when i just select one tag .Due to this when i open the same in classic dialog the tags don't come up as it expects String[].

Please could you provide inputs as how to fix it.

The component i am using is

<tag

         jcr:primaryType="nt:unstructured"

         sling:resourceType="granite/ui/components/coral/foundation/form/autocomplete"

         fieldLabel=" Asset Tags"

          multiple="{Boolean}true"

         name="./assetTags"

         mode="contains">

          <datasource

           jcr:primaryType="nt:unstructured"

           sling:resourceType="cq/gui/components/common/datasources/tags"/>

          <options

           jcr:primaryType="nt:unstructured"

           sling:resourceType="granite/ui/components/coral/foundation/form/autocomplete/list"/>

          <values

           jcr:primaryType="nt:unstructured"

           sling:resourceType="granite/ui/components/coral/foundation/form/autocomplete/tags"/>

                                    </tag>

Classic UI:-

1803236_pastedImage_6.png

Touch UI:-

I am selecting just one tag it stores as  assetTags String instead od String[]

1803228_pastedImage_1.png

View Entire Topic

Avatar

Avatar

srinivas_chann1

Avatar

srinivas_chann1

srinivas_chann1

31-07-2019

Thanks for helping me out on fixing this issue.