Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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
You can’t perform that action at this time.