SHARE
TWEET

Untitled

a guest Mar 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <aura:attribute name="myBooleanAttribute" type="Boolean" access="private"/>
  2. <lightning:recordEditForm
  3.                 onsuccess="{!c.redirect}"
  4.                 onsubmit="{!c.showSpinner}"
  5.                 onload="{!c.hideSpinner}"
  6.                 onerror="{!c.hideSpinner}"
  7.                 recordId="{!v.recordId}"
  8.                 objectApiName="Opportunity">
  9.                     <lightning:inputField fieldName="SomeBoolean__c" value="{!v.myBooleanAttribute}"/>
  10.                     <lightning:inputField class="{!v.myBooleanAttribute?'':'slds-hide'}" fieldName="Move_in_Date__c"/>
  11.         </lightning:recordEditForm>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top