Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <aura:component implements="force:hasRecordId,flexipage:availableForAllPageTypes">
- <aura:attribute name="recordId" type="Id"/>
- <lightning:recordEditForm objectApiName="Book__c">
- <lightning:messages />
- <lightning:inputField fieldName="Name" />
- <lightning:inputField fieldName="Account__c"/>
- <lightning:button class="slds-m-top_small" type="submit" label="Create" />
- </lightning:recordEditForm>
- </aura:component>
Add Comment
Please, Sign In to add comment