SHARE
TWEET

Untitled

a guest Aug 21st, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <lightning-layout-item padding="around-small">
  2.             <lightning-input type="number" formatter="currency" name="amount" value={Custom_Object__c.Amount__c} onchange={handleChange} required></lightning-input>
  3.     </lightning-layout-item>
  4.     <lightning-layout-item padding="around-small">
  5.             <lightning-input name="size" value={Custom_Object__c.Size__c} onchange={handleChange} required></lightning-input>
  6.     </lightning-layout-item>
  7.      
  8. if (event.target.name === 'amount') {
  9.         this.Custom_Object__c.Amount__c = event.target.value;
  10.     }
  11.     if (event.target.name === 'size') {
  12.         this.Custom_Object__c.Size__c = event.target.value;
  13.     }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top