Created
June 17, 2018 14:43
-
-
Save anilsomasundaran/e627e319f9afaed448ae1b79f8e262cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global" > | |
<aura:attribute name="contactFields" type="String[]" default="Course_Name__c,Course_Fee__c,Course_Start_Date__c,Completion_Date__c,Course_Description__c"/> | |
<lightning:recordForm | |
objectApiName="Course__c" | |
fields="{!v.contactFields}" | |
columns="2" | |
mode="edit" | |
onsubmit="{!c.handleSubmit}" /> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment