Skip to content

Overview

Types of components

There are two types of components in the framework:

  • Related with model fields
  • Design components: container and widget components

Versioning

The components are versioned with the webclient version, we have three types of versions:

  • stable: v2.X and the components are tagged with green (or not tagged)
    v2.X
  • beta: v2.X-rc.Y and the components are tagged with yellow
    v2.X-rc.Y
  • alpha: v3.0.0-alpha.Z and the components are tagged with red
    v3.0.0-alpha.Z

API

Container components

PropertyDescriptionTypeDefaultVersion
colNumber of columns that the container will have inside.number--

Widget components

PropertyDescriptionTypeDefaultVersion
colspanNumber of columns that the widget will spannumber1 (depends on the widget)-
readonlyWhether the widget is read-onlybooleanfalse-
invisibleWhether the widget is invisiblebooleanfalse-
attrsDynamic attributes to pass to the widget as boolean values. See the dynamic attributes for more information.object--

Field components (extends widget)

PropertyDescriptionTypeDefaultVersion
nameName of the fieldstring--
domainDomain to filter the recordsarray (domain format)[]-
contextContext to pass to the fieldobject{}-
stringLabel for the fieldstringThe string defined in the model-
nolabelWhether to show the labelbooleanfalse-
helpHelp text for the fieldstring''-
help_inlineWhether to show the help text inlinebooleanfalse-
requiredWhether the field is requiredbooleanfalse (depends on the model)-
sumWhether to show the sum of the field only for tree views--
autorefreshWhether the field will be refreshed automaticallyboolean (1 | 0)0 v2.40.0