Last active
August 21, 2018 16:45
-
-
Save shrutis22/f064c2eb49bac92f8e24705fd838e89d 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="lightning:availableForFlowScreens,flexipage:availableForRecordHome,force:hasRecordId" access="global"> | |
<aura:attribute name="objectApiName" type="String" access="public" /> | |
<aura:attribute name="fieldLabel" type="String" access="public" /> | |
<aura:attribute name="fieldName" type="String" access="public" /> | |
<aura:attribute name="selectedRecordId" type="String" access="public" /> | |
<lightning:recordEditForm objectApiName="{!v.objectApiName}"> | |
<label class="fieldLabel">{!v.fieldLabel}</label> | |
<lightning:inputField fieldName="{!v.fieldName}" onchange="{!c.handleOnChange}" /> | |
</lightning:recordEditForm> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment