You need to sign in to do that
Don't have an account?
Venkataramanan Subramanian
Creating a Packing list component in Attributes and expressions
I am getting the following errror when trying to complete
Attributes and Expressions as part of develop for Ligthing experience.
Challenge Not yet complete... here's what's wrong:
The Quantity field is either not using the lightning formattedNumber component or the value of the item's Quantity__c.
The code is as below
<aura:component>
<aura:attribute name="item" type="Camping_Item__c" required="true"/>
<p>Name:<ui:outputText value="{!v.item.Name}"/></p>
<p>Price:<ui:outputCurrency value="{!v.item.Price__c}"/></p>
<p>Quantity:<ui:outputNumber value="{!v.item.Quantity__c}"/></p>
<p>Packed:<ui:outputCheckbox value="{!v.item.Packed__c}"/></p>
</aura:component>
Attributes and Expressions as part of develop for Ligthing experience.
Challenge Not yet complete... here's what's wrong:
The Quantity field is either not using the lightning formattedNumber component or the value of the item's Quantity__c.
The code is as below
<aura:component>
<aura:attribute name="item" type="Camping_Item__c" required="true"/>
<p>Name:<ui:outputText value="{!v.item.Name}"/></p>
<p>Price:<ui:outputCurrency value="{!v.item.Price__c}"/></p>
<p>Quantity:<ui:outputNumber value="{!v.item.Quantity__c}"/></p>
<p>Packed:<ui:outputCheckbox value="{!v.item.Packed__c}"/></p>
</aura:component>