Text Tablefield
A single-line text input column for collecting short string values like names, identifiers, or other text-based data within a table row.
Properties
| Attribute | Comments |
|---|---|
| basic | |
| name string / required / unique | Field name
This attribute represents the name of the form field. |
| type string / required | Tablefield type
Other attributes might only be available for some tablefield types. Choices:
|
| label string | Tablefield label
A friendly name/label for the tablefield |
| placeholder string | In-field help value
Some form fields allow an in-field hint value. |
| data | |
| default many | Default value
The type of the value depends on the field type.
|
| datetime | |
| interaction | |
| validation | |
| required boolean | Required field
Makes the field required. Default: false |
| minLength number | Field minimum length
Forces a string-field to be at least x long. |
| maxLength number | Field maximum length
Forces a string-field to be maximum x long. |
| regex object | A regular expression validation
Enforces a validation where the current field must match a regular expression. This field requires an object with 2 attributes:
|
| notIn object added in version 2.2.4 | A list validation (can not be in list)
Enforces a validation where the current field can not be one of the values in a list (referencing another field). This field requires an object with 2 attributes:
|
| in object added in version 2.2.4 | A list validation (must be in list)
Enforces a validation where the current field must be one of the values in a list (referencing another field). This field requires an object with 2 attributes:
|
| visualization | |
| icon string | Field icon
Some tablefields can hold a nice looking icon. The icon name is a free fontawesome 6 icon. You can find more information at www.fontawesome.com |