Components
Components

Record form

Tag: <we-record-form>
Standard module: we_record_form

Renders configured record fields in view and edit modes. It loads a field set or uses supplied layout data and delegates editing to we-record-edit-form.

Features

  • Uses supplied layoutData or fetches a field-set layout.
  • Shows field output in view mode and delegates saves to the nested edit form.

Public parameters

JavaScript property HTML attribute Type Initial value Purpose
formMode form-mode String "full" Declared public input; current component logic does not read it.
fields fields Array [] Declared public input; current component logic does not read it.
recordId record-id String '' ID of the record in context.
layoutData layout-data Object null Layout configuration supplied directly instead of fetching a field set.
readOnly read-only Boolean false Whether editing is disabled.
objectName object-name String — Object API name in context.
fieldSetName field-set-name String — Field set API name.

Public methods

No @apiFunction methods are declared.

Events

No directly constructed CustomEvent was found in this component source. Standard DOM events can still occur.

Page-builder availability declared in package metadata: WE__RecordPage.

Source: working/environment_modules/standard/we_record_form/WebComponent/WeRecordForm.js.

All components