Created
February 29, 2020 12:18
-
-
Save salesforceBen/01c1f3f6c3a2e5dd501bb286a247bce9 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:availableForRecordHome,force:hasRecordId,lightning:actionOverride,force:lightningquickActionWithoutHeader"> | |
<aura:attribute name="RecordTypeId" type="String" access="public"/> | |
<aura:handler name="init" value="{!this}" action="{!c.doInit}" /> | |
<lightning:recordEditForm aura:id="recordEditForm" recordId="{!v.RecordId}" recordTypeId="{!v.RecordTypeId}" objectApiName="Account" class="slds-p-top_small"> | |
<span class="slds-hide slds-required" aura:id="required">*</span> | |
<lightning:inputField aura:id="picklist" fieldName="Industry" /> | |
<lightning:inputField fieldName="RecordId" value="{!v.RecordId}" class="slds-hide" /> | |
<lightning:inputField fieldName="RecordTypeId" value="{!v.RecordTypeId}" class="slds-hide" /> | |
</lightning:recordEditForm> | |
<!--<lightning:recordEditForm aura:id="recordEditForm" recordId="{!v.RecordId}" recordTypeId="{!v.RecordTypeId}" objectApiName="Account" class="slds-p-top_small"> | |
<span class="slds-hide slds-required" aura:id="required">*</span> | |
<lightning:inputField aura:id="picklist" fieldName="Ownership" /> | |
<lightning:inputField fieldName="RecordId" value="{!v.RecordId}" class="slds-hide" /> | |
<lightning:inputField fieldName="RecordTypeId" value="{!v.RecordTypeId}" class="slds-hide" /> | |
</lightning:recordEditForm>--> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment