Expand my Community achievements bar.

SOLVED

Add country images in the drop down ?

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Community Advisor

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-...

Hope that helps!

Regards,

Santosh

Avatar

Level 1

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