Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

AEM Nested Multifield focus issue

Avatar

Community Advisor

Hi All,

 

I am facing a similar issue mentioned in the below link. I have tried the solution mentioned but had no luck. Did anyone fix this?

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-upgrade-6-5-17-issue-w...

 

AEM Version:6.5.17.0

4 Replies

Avatar

Community Advisor

Hi @Kiran_Vedantam 

If you have found out solution yourself, please share it with the community.



Arun Patidar

Avatar

Community Advisor

@Kiran_Vedantam 

 

Have you tried with the AEM Core components in AEM 6.5.17 without custom code. The components like List, CFList should have multifields OOTB.

 

It can help you quickly verify, if there was any change in the multifield set-up.

 

Please use a version compatible with AEM 6.5.17.

 

If its reproducible, we can raise Adobe ticket.

 


Aanchal Sikka

Avatar

Level 2

I also encountered the same issue and resolved it by utilizing CoralUI 2 for Nested Multifield.

Here's my code, hope can help you

<detailswithnastedmultifield
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
composite="{Boolean}true"
fieldLabel="Details"
required="{Boolean}false">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
name="./detailswithnastedmultifield">
<items jcr:primaryType="nt:unstructured">
<prop1
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Prop1"
name="./prop1"/>
<prop2
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Prop2"
name="./prop2"/>
<prop3Nested
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/multifield"
fieldLabel="prop3Nested">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/container"
composite="{Boolean}true"
name="./innerProps">
<items jcr:primaryType="nt:unstructured">
<innerProp1
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="innerProp1"
name="./innerProp1"/>
<innerProp2
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"
fieldLabel="innerProp2"
name="./innerProp2"
step="1"
value="1"/>
</items>
</field>
</prop3Nested>
</items>
</field>
</detailswithnastedmultifield>