Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<aura:component>
<!--lightningRecFormComp-->
<aura:attribute name="recordId" type="String" default="0037F000013NrfqQAC"/>
<aura:attribute name="myContact" type="List" default="[Name,Email]" />
<lightning:recordForm
recordId="{!v.recordId}"
objectApiName="Contact"
layoutType="Compact"
fields="{!v.myContact}"
columns="1"
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
You can’t perform that action at this time.