Im using lightning component inside Aura:Iteration. It doesnt display anything not even any error. PFB Code
<aura:component >
<aura:attribute name="item" type="Camping_Item__c" required="true"/>
<aura:attribute name="disabled" type="Boolean" default="false"/>
<p>Name:
<ui:outputText value="{!v.item.name}"/>
</p>
<p>Quantity:
<lightning:formattedNumber value="{!v.item.Quantity__c}" style="currency"/>
</p>
<p>Price:
<lightning:formattedNumber value="{!v.item.Price__c}" style="currency" />
</p>
<p>Camping :
<lightning:input type="toggle" label="Packed" name="togglevalue" checked="{!v.item.Packed__c}" />
<!-- <lightning:input type="toggle" packed="{!v.item.Packed__c}"/> -->
</p>
<p>
<lightning:button label="Packed" onclick="{!c.packItem}" disabled="{!v.disabled}"/>
</p>
</aura:component>
Camping:
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" access="global">
<aura:attribute name="items" type="Camping_Item__c[]"/>
<aura:iteration items="{!v.items}" var="obj">
<c:campingListItem item="{!obj}"/>
</aura:iteration>
</aura:component>
items
attribute on your camping component is never populated, and thus if you iterate over it, you will get no results.