Skip to content

Instantly share code, notes, and snippets.

@simpluslabs
Created February 8, 2019 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simpluslabs/304361f02a0cd41991dd704b21b3db14 to your computer and use it in GitHub Desktop.
Save simpluslabs/304361f02a0cd41991dd704b21b3db14 to your computer and use it in GitHub Desktop.
<template>
<lightning-card title="Create Account" icon-name="custom:custom57"></lightning-card>
<div class="slds-grid slds-wrap slds-p-around_small">
<!-- Create a record with Lightning Data Service -->
<div class="slds-col">
<lightning-record-form object-api-name={accountObject} fields={myFields} onsuccess={handleSuccess} onsubmit={handleSubmit}> mode="edit">
</lightning-record-form>
</div>
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment