Components
Components

Record edit dialog

Tag: <we-edit-form-modal-dialog>
Standard module: we_edit_form_modal_dialog

Opens a record edit form in a modal for the given object, record, and field set.

Features

  • Uses a field set to build the edit dialog.
  • Emits recordsave with save outcome information.

Public parameters

JavaScript property HTML attribute Type Initial value Purpose
recordId record-id String '' ID of the record in context.
objectName object-name String '' Object API name in context.
fieldSetName field-set-name String '' field set name supplied by the caller.

Public methods

No @apiFunction methods are declared.

Events

  • recordsave is emitted as a DOM custom event.

This is a modal component. Application code opens it through the modal class’s static open({ props }) method; see the component authoring guide.

Source: working/environment_modules/standard/we_edit_form_modal_dialog/WebComponent/WeEditFormModalDialog.js.

All components