AEM 6.5 Service Pack Breaks Touch UI Dialog Multifield (Coral UI) | Community
Skip to main content
Level 2
February 19, 2024

AEM 6.5 Service Pack Breaks Touch UI Dialog Multifield (Coral UI)

  • February 19, 2024
  • 2 replies
  • 1093 views

The dialog is wired into the Asset Details page and is used for creating an approval workflow for the asset. We have a multifield where the author can select a sequence of groups for approval in the workflow. When we upgraded from 6.5.4 to 6.5.19, the multifield stopped working. The "Add" button is rendered in the multifield, but does nothing when clicked. If you inspect the dialog on the front end, you can see that the button is missing "coral-multifield-add" in the button element. The rest of this dialog, including datepickers etc...works just fine.

 

Instead of (working)

 

<button type="button" is="coral-button" coral-multifield-add class="coral3-Button coral3-Button--secondary" size="M" variant="secondary"><coral-button-label>Add</coral-button-label></button>

 

we get (not working)

 

<button type="button" is="coral-button" class="coral3-Button coral3-Button--secondary" size="M" variant="secondary"><coral-button-label>Add</coral-button-label></button>

 

Note that the button is exactly the same, but is missing "coral-multifield-add"

 

I've tried replacing our multifield with a multifield that is dead simple. E.g. a simple textfield multifield. However I always get the same result where the buttom is rendered inoperable. Any pointers on where to look in Coral UI or how to debug this would be most helpful. I am not getting any console or log errors that give a clue as to the problem.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Imran Khan
Community Advisor
Community Advisor
February 20, 2024

@jonathanrad There may be an issue with resource type and composite property. Try to make changes around it once  

sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
composite="{Boolean}true"
Level 2
February 20, 2024

Thank you, but yea we are already using that resource type and setting composite={Boolean}true.

Imran Khan
Community Advisor
Community Advisor
February 20, 2024

@jonathanrad can you please once compare 6.5.4 multifield structure with 6.5.19 working one from OOTB. There may be a structure change.

kautuk_sahni
Community Manager
Community Manager
February 21, 2024

@jonathanrad Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni