I dont understand what is the problem here. I have to show list of about 48 countries like below but nothing is coming in UI. I have tried every possible combination but no use!

<aura:component implements="lightning:isUrlAddressable" access="GLOBAL">

    <aura:attribute name="countries" type="List" default="[
                                                          { Name: 'USA' },
                                                          { Name: 'India' },
                                                          { Name: 'China' }]" />

        <aura:iteration items="{!v.countries}" var="ctry">


because of your ol it's not rendering, just replace ol with ul it works

        <aura:iteration items="{!v.countries}" var="ctry">

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.