Add country images in the drop down ? | Community
Skip to main content
December 1, 2022
Solved

Add country images in the drop down ?

  • December 1, 2022
  • 2 replies
  • 1029 views

How to add country image in the drop down beside with country code in AEM 6.5 . Is anybody knows please suggest me asap.

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

are these flag icons are expected to be on the dialog drop-down menu or on the HTML?

 

for HTML, please make use of country flag icons such as https://flagicons.lipis.dev/ on your HTML like this

On the dialog, you can add a property "icon (String)" if you are using resourceType: granite/ui/components/coral/foundation/form/select

Thank you,

Sravan

2 replies

B_Sravan
Community Advisor
B_SravanCommunity AdvisorAccepted solution
Community Advisor
December 1, 2022

are these flag icons are expected to be on the dialog drop-down menu or on the HTML?

 

for HTML, please make use of country flag icons such as https://flagicons.lipis.dev/ on your HTML like this

On the dialog, you can add a property "icon (String)" if you are using resourceType: granite/ui/components/coral/foundation/form/select

Thank you,

Sravan

SantoshSai
Community Advisor
Community Advisor
December 1, 2022

Hi @ayush1998,

There was one article I remember, unfortunately it's throwing 404 for now. Please check this: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/images-not-listing-in-the-drop-down/m-p/236391

Hope that helps!

Regards,

Santosh

Santosh Sai
Ayush1998Author
December 2, 2022

For me also it's showing the same 404 error. Yeah i can refer that article but not working for me. Can you please tell me the way for AEM 6.5.

 

Thanks 

Ayush