Components
Output field
Tag: <we-output-field>
Standard module: we_output_field
Displays a record field value and provides contextual edit or ownership actions where supported.
Features
- Fetches field data when given record context and can hide its label.
- Emits
editortransferownershipfor contextual actions.
Public parameters
| JavaScript property | HTML attribute | Type | Initial value | Purpose |
|---|---|---|---|---|
readOnly |
read-only |
Boolean | false |
Whether editing is disabled. |
showLabel |
show-label |
Boolean | true |
Whether to show the field label. |
recordId |
record-id |
String | — |
ID of the record in context. |
objectName |
object-name |
String | — |
Object API name in context. |
fieldName |
field-name |
String | — |
Field API name. |
fieldValue |
field-value |
Any | — |
Current field value. |
Public methods
No @apiFunction methods are declared.
Events
editis emitted as a DOM custom event.transferownershipis emitted as a DOM custom event.
Source: working/environment_modules/standard/we_output_field/WebComponent/WeOutputField.js.