내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Issues with populating dropdown

Avatar

Level 5

Hello Team - We have an utility page in author instance. In that page, there is a dynamic dropdown CoralUI field. We are facing issues with populating the dropdown as it throws an errror even though we have added the required clientlibs (coralui2/coralui3). Could someone help with the below error.

 

P.S: The dropwdown is not a part of a dialog, it is in the page itself.

 

CoralUI3.PNG

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

please see is there any local(content OR structure component) clientlibs which is using jquery or vanilla js to get some attribute of the dialog, is using correct coral2 or coral 3 UI specific class or not, for example in coral 2 UI we will be using

var dropdownSelection = $('span.marketingTileDropdown').find('.coral-Select-button-text')[0].innerText;

and in coral3 UI it will be 

var dropdownSelection = $('span.marketingTileDropdown').find('.coral3-Select-button-text')[0].innerText;
 
something like the above snipet you may need to check.
NOTE: this is just an example for your reference.
hope this will help.
Umesh Thakur

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

please see is there any local(content OR structure component) clientlibs which is using jquery or vanilla js to get some attribute of the dialog, is using correct coral2 or coral 3 UI specific class or not, for example in coral 2 UI we will be using

var dropdownSelection = $('span.marketingTileDropdown').find('.coral-Select-button-text')[0].innerText;

and in coral3 UI it will be 

var dropdownSelection = $('span.marketingTileDropdown').find('.coral3-Select-button-text')[0].innerText;
 
something like the above snipet you may need to check.
NOTE: this is just an example for your reference.
hope this will help.
Umesh Thakur