Created
May 20, 2019 18:04
-
-
Save tccloudz/ad473511954d2b41d85c48e434df4f24 to your computer and use it in GitHub Desktop.
recordEditForm LWC Snippet
This file contains 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
<lightning-record-edit-form record-id={recId} object-api-name={objApiName} onsuccess={handleSuccess}> | |
<template for:each={fieldListArr} for:item='field'> | |
<lightning-input-field field-name={field} key={field}> | |
</lightning-input-field> | |
</template> | |
<br/> | |
<br/> | |
<lightning-button class="slds-m-top_small" variant="brand" type="submit" name="update" label="Save"> | |
</lightning-button> | |
</lightning-record-edit-form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment