The lightning-record-edit-form component allows a developer to view or edit a record while maintaining control over specifying its layout and set of fields. This component provides a way tocreate forms that respect the field-level security and layout configuration defined in the Salesforce metadata. The developer can use lightning-input-field components inside the form to display and edit the fields of a record. The other options are incorrect because they either do not allow editing the record, do not respect the metadata configuration, or do not exist as valid component paths. References: lightning-record-edit-form | Lightning Web Components Developer Guide
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit