Forum Replies Created

  • I completed this with this code , just read the arcticle well and that should be good enough . This is good for starting lightning .

    <aura:component>
        <aura:attribute name=”item” type=”Camping_Item__c” required=”true”/>
        <p>
            Name: {!v.Item.Name}
        </p>
        <p>Quantity:
            <lightning:formattedNumber value=”{!v.Item.Quantity__c}” />
        </p>
        <p>Price:
            <lightning:formattedNumber value=”{!v.Item.Price__c}” style=”currency”/>
        </p>
        <p>
            Packed Status: {!v.item.Packed__c}
        </p>
        <p>
            <lightning:input type=”toggle” label=”Packed?” name=”Packed” checked=”{!v.Item.Packed__c}” />
        </p>
    </aura:component>

Popular Salesforce Blogs

Popular Salesforce Videos