entity
The entity component is a container for the following components:
Considerations
The
component.entityused with the above-mentioned components is configurable on ajig.default.Section and field-row are also available under the
component.formas its container. Here the entity-field is replaced by the form's children field.When setting up a
component.entity, either a default jig orcomponent.formcan be used in the following combinations:An entity containing section(s) with rows and entity-field
An entity containing section(s) and entity-fieldAn entity containing rows and entity-field
An entity containing entity fields
Configuration options
Some properties are common to all components, see Common component properties for a list and their configuration options.
isCompact
When this property is set to true the entity-field will cover the entire row. This compact variant does not allow usage of field-row components. By default, a label is at the top and the value below. isCompact will place the label on the left and the value on the right. Columns are not supported.
Examples and code snippets


Entity example
Compact
Examples: Basic - See the full example using static data in GitHub. Compact - See the full example using dynamic data in GitHub.
See also
Last updated
Was this helpful?