-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
3Questions
-
0Replies
trailhead challege not completed (Aura Components)
Refactor Components and Communicate with Events.
Error: The campingList component appears to be using UI Components instead of Base Lightning Components in the form. You should be using only Base Lightning Components.
Here's my component code, please let me know if you need anything else.
<aura:component controller="CampingListController"> <aura:handler name="init" action="{!c.doInit}" value="{!this}"/> <aura:handler name="addItem" event="c:addItemEvent" action="{!c.handleAddItem }"/> <aura:attribute name="items" type="Camping_Item__c[]"/> <ol> <li>Bug Spray</li> <li>Bear Repellant</li> <li>Goat Food</li> </ol> <!-- NEW ITEM FORM --> <div class="slds-col slds-col--padded slds-p-top--large"> <c:campingListForm /> </div> <!-- / NEW ITEM FORM --> <div class="slds-card slds-p-top--medium"> <header class="slds-card__header"> <h3 class="slds-text-heading--small">Items</h3> </header> <section class="slds-card__body"> <div id="list" class="row"> <aura:iteration items="{!v.items}" var="items"> <c:campingListItem item="{!item}"/> </aura:iteration> </div> </section> </div> </aura:component>
- Siddhant Singh 5
- March 19, 2019
- Like
- 0
- Continue reading or reply
Question is "Create a page that displays the detail page same as of the Account object along with its related lists". On deploying and running the following code a blank page opens in the browser. Where I am wrong ?
<apex:page standardController="Account"> <apex:detail subject="{!account.id}" relatedList="true" title="false"/> </apex:page>
- Siddhant Singh 5
- February 21, 2019
- Like
- 0
- Continue reading or reply
- Siddhant Singh 5
- February 09, 2019
- Like
- 0
- Continue reading or reply