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

Coral composite multifield does not support coral autocomplete OOTB component

Avatar

Avatar
Validate 1
Level 2
velmuruganv38
Level 2

Likes

7 likes

Total Posts

18 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
velmuruganv38
Level 2

Likes

7 likes

Total Posts

18 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
velmuruganv38
Level 2

18-12-2018

Hi All,

I have created a cq:dialog in aem6.3 with composite multifield which has one text field and autocomplete textfield.  When I change the multifield resource type from granite to coral, the autocomplete text field throws an error in the console when I type in.

Below is my dialog structure,

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"

    jcr:primaryType="nt:unstructured"

    jcr:title="Text Component"

    sling:resourceType="cq/gui/components/authoring/dialog"

    helppath="en/cq/current/wcm/&#xa;default_components.html#Carousel">

    <content

        jcr:primaryType="nt:unstructured"

        sling:resourceType="granite/ui/components/foundation/container">

        <layout

            jcr:primaryType="nt:unstructured"

            sling:resourceType="granite/ui/components/foundation/layouts/tabs"

            type="nav"/>

        <items jcr:primaryType="nt:unstructured">

            <tab1

                jcr:primaryType="nt:unstructured"

                jcr:title="Content Owners"

                sling:resourceType="granite/ui/components/foundation/section">

                <layout

                    jcr:primaryType="nt:unstructured"

                    sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"/>

                <items jcr:primaryType="nt:unstructured">

                    <column

                        jcr:primaryType="nt:unstructured"

                        sling:resourceType="granite/ui/components/foundation/container">

                        <items jcr:primaryType="nt:unstructured">

                            <contentowner

                                jcr:primaryType="nt:unstructured"

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

                                composite="{Boolean}true"

                                eaem-show-on-collapse="EAEM.showProductName"

                                fieldLabel="Content Owner">

                                <field

                                    jcr:primaryType="nt:unstructured"

                                    sling:resourceType="granite/ui/components/foundation/form/fieldset"

                                    acs-commons-nested=""

                                    name="./myUserSubmenu">

                                    <layout

                                        jcr:primaryType="nt:unstructured"

                                        sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"

                                        method="absolute"/>

                                    <items jcr:primaryType="nt:unstructured">

                                        <column

                                            jcr:primaryType="nt:unstructured"

                                            sling:resourceType="granite/ui/components/foundation/container">

                                            <items jcr:primaryType="nt:unstructured">

                                                <autocomplete

                                                    jcr:primaryType="nt:unstructured"

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

                                                    fieldDescription="Enter User Submenu title"

                                                    fieldLabel="User Submenu Title"

                                                    multiple="{Boolean}true"

                                                    name="./title">

                                                    <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"/>

                                                </autocomplete>

                                                <comment

                                                    jcr:primaryType="nt:unstructured"

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

                                                    emptyText="comments"

                                                    fieldLabel="Comments"

                                                    name="./comment"/>

                                            </items>

                                        </column>

                                    </items>

                                </field>

                            </contentowner>

                        </items>

                    </column>

                </items>

            </tab1>

        </items>

    </content>

</jcr:root>

When type in autocomplete field I'm getting below error in foundation js,

1649869_pastedImage_1.png

Any suggetions please let me know.

Thanks in advance!

Replies

Avatar

Avatar
Give Back
Level 1
Srinivas13
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
Srinivas13
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
Srinivas13
Level 1

13-02-2021

Hi, please let me know if autocomplete is working for you under multifield