entity-field
Entity fields display data such as text, numbers, dates, and currency from a datasource to the user. These entity fields are found on a jig.default and can be nested under field-row and/or section components but not under component.form as it is used for display purposes only.
Some properties are common to all components, see Common component properties for a list and their configuration options.
Core structure | |
---|---|
label | Add a label for the entity-field, you can add text or an expression. |
value | Add a value to display in the entity-field, you can add text or an expression. |
Other options | |
---|---|
contentType | Various types of entity fields determine the visual display and behavior of the entity-field, including:
|
instanceId | The unique identifier for the entity field. |
rightIcon | A list of icons is available. See Jigx icons for more information. |
style | The following styling set is available and works in conjunction with rightIcon to determine the color of the icon and the enitity-field line separator:
|
- There are two variants of entity fields available - Basic and Compact.
- The Compact variant requires the property isCompact to be set to true.
- This is the entity component's property, not the entity-field.
- When using the contentType: phone, ensure the phone number entered contains no spaces; this allows you to click on the field to initiate a call from your device.