Field

📲 Render a field from the available record.

1. Overview

The field type is an atomic component. That is, nothing can be placed inside it. It renders a Field from the current record, specified by the field key.

2. Object Properties

The table provides a summary of the object properties associated with the field:

PropertyTypeRequirementDescription
typestringMandatoryAlways set to field.
fieldstringMandatoryRefers to the internal ID of the Field to render (e.g., "status").
labelstringOptionalOverrides the Field's name. If set, it displays as the label.
optionsobjectOptionalProvides additional customisation options.
readonlybooleanOptionalWhen true, displays the Field's value without an input Field.
mandatorybooleanOptionalSets the default mandatory state as true or false, overriding the Fieldmandatory setting.
noValueTextstringOptionalText to display when the Field value is blank. If omitted, defaults to No LABEL(e.g. No due date for a Field with the label “Due date”).
placeholderstringOptionalIf set, the input Field's placeholder is used, overriding the Field's placeholder. If omitted, the Field's placeholder is used.
descriptionstringOptionalIf set, the input Field's description is used, overriding the Field's description. If omitted, the Field's description is used.
errorTextstringOptionalText displayed when the Field has an error (e.g., mandatory and blank).
disableAddbooleanOptionalIf true, hides the + button for adding an entry via a modal (for select/multi-select Fields).
labelOptionsobjectOptionalCustomisation options for label rendering.
hidebooleanOptionalWhen true, omits to display the label.
orientationstringOptionalSpecifies label orientation as top or bottom; defaults to top if not set.
iconstringOptionalIf set, it renders an icon (e.g., fa-duotone fa-house) beside the label.
colorstringOptionalIf set, it alters the label and icon colour. The options are primary, secondary, default((the normal gray color)), and all hex codes.
weightstring/numberOptionalDefines valid font weight (CSS value) for the label.
iconColorstringOptionalModifies the colour of the label's icon.

3. Sample Configuration

This example renders a Field onto the Entry Layouts using all of the Field's settings.

{
"type": "field",
"field": "name"
}

This example renders a Field onto the Entry Layouts using many available settings.

{
"type": "field",
"field": "name",
"label": "Name",
"options": {
      "mandatory": true, 
      "readonly": true,
      "noValueText": "No name has been set",
      "placeholder": "Type a name..."
      "description": "Type into this field to set the name of this entry",
      "errorText": "Please set a name",
      "labelOptions": {
            "orientation": "bottom",
            "icon": "fa-duotone fa-house"  
         }
     }
}

📌 Need Help?

If you require assistance or encounter any issues, please don't hesitate to contact us for further support.