Created
April 8, 2022 16:56
-
-
Save svierk/b30e2335ea4df603628653ba65dd9a7d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import NUMBER_FIELD from '@salesforce/schema/Account.AccountNumber'; | |
import BILLING_ADDRESS_FIELD from '@salesforce/schema/Account.BillingAddress'; | |
import NAME_FIELD from '@salesforce/schema/Account.Name'; | |
import { api, LightningElement } from 'lwc'; | |
export default class AccountForm extends LightningElement { | |
nameField = NAME_FIELD; | |
numberField = NUMBER_FIELD; | |
billingAddressField = BILLING_ADDRESS_FIELD; | |
@api recordId = '0017Q00000DzcOMQAZ'; | |
@api objectApiName = 'Account'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment