Add country images in the drop down ? | Community
Skip to main content
New Participant
Dec 1, 2022 12:54 PM UTC
Solved

Add country images in the drop down ?

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.
B_Sravan
B_SravanAccepted solution
New Participant
Dec 1, 2022 1:38 PM UTC

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

3 replies

SantoshSai
New Participant
Dec 1, 2022 4:17 PM UTC

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

Translate
Santosh Sai
Ayush1998Author
New Participant
Dec 2, 2022 5:43 AM UTC

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 

Translate
B_Sravan
B_SravanAccepted solution
New Participant
Dec 1, 2022 1:38 PM UTC

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

Translate