Skip to content

Fields

Work in progress

Field Types

The fields are divided into groups by their purpose:

  • Choice from Predefined Values — fields for choosing one or several values from a fixed set.
  • Date & Time — fields for dates and time with different precision.
  • Display & Technical — read-only auxiliary fields and technical fields.
  • Entity Selection — fields for choosing records of other entities in a popup, a dropdown or a tree.
  • Files — fields for viewing and attaching files.
  • Numeric — fields for numbers, percentages and money.
  • Text — fields for entering and displaying text: a single line, multiple lines or formatted text.

Choice from Predefined Values

Fields for choosing values from a fixed set: yes or no, one value or several values.

img_form.png

img_form.png

img_edit_form.png

img_form.png

  • CheckBox allows the user to make a binary choice.
  • Dictionary allows to select a single value from a dropdown.
  • MultipleSelect allows to select multiple values from a dropdown list of predefined values.
  • Radio allows to select one of predefined values visualized as radio buttons.

Date & Time

Fields for dates and time with different precision.

img_form.png

img_form.png

img_form.png

img_form.png

  • Date is used for editing and displaying dates.
  • DateTime is used for editing and displaying dates with time.
  • DateTimeWithSeconds is used for editing and displaying dates with time and with seconds.
  • Time is used for editing and displaying time.

Display & Technical

Read-only fields that help to present other data, and technical fields that are not shown to the user.

img_form.png

img_form.png

img_form.png

img_form.png

  • Hidden is an invisible technical field that allows to send a field value to the frontend.
  • Hint is a non-editable field used for indirect indication or suggestion. It is typically used in a Multifield.
  • Multifield is a logical block containing any number of other fields. All fields in the block are readonly.
  • MultivalueHover allows to view multiple values on mouse hover. All values are readonly.

Entity Selection

Fields for choosing records of other entities: one record or several records, in a popup, a dropdown or a tree.

img_edit_form.png

img_form.png

img_form.png

img_edit_form.png

img_form.gif

img_form.gif

  • InlinePickList is similar to PickList, but uses a dropdown instead of a popup for value selection.
  • Multivalue allows to select multiple values from a Popup list of entities.
  • MultivalueTree allows to select multiple values from a Popup tree of entities.
  • PickList allows to select a value from a Popup list of entities.
  • PickTree allows to select a value from a Popup tree of entities.
  • SuggestionPickList allows to select a value from a dropdown list with data from various external sources, such as microservices, files and others.

Files

Fields for the files of records.

img_form.png

  • FileUpload allows to view and attach a single file.

Numeric

Fields for numbers: they restrict user input to numeric values and support filtering by range.

img_form.gif

img_form.png

img_form.gif

  • Money is used for showing and editing fields containing money.
  • Number is used to input and present numbers. It automatically restricts user input to numeric values only.
  • Percent is used for editing and displaying percentages.

Text

Fields for entering and displaying text.

form.png

img_form.png

img_form.png

  • Input is used for text editing. It allows editing and displaying single-line text.
  • RichText is used for editing and displaying formatted multi-line text with a toolbar: headings, bold, italic, lists, quotes, code and text color.
  • Text is used for editing and displaying multi-line text.

Field properties

Properties supported by each field type. See SearchOperation for filtering for filtering details.

Property checkbox dictionary multipleSelect radio
Placeholder - + + -
Color + + - +
RO/Edit + + + +
Filter + + + +
Drilldown - + - +
Validation + + + +
Sort + + + +
Required + + + +
Property date dateTime dateTimeWithSeconds time
Placeholder + + + +
Color + + + +
RO/Edit + + + +
Filter + + + +
Drilldown + + + +
Validation + + + +
Sort + + + +
Required + + + +
Property hidden hint multifield multivalueHover
Placeholder - - - -
Color - + - +
RO/Edit - - - -
Filter - + + +
Drilldown - + - -
Validation - - - -
Sort - - - -
Required - - - -
Property inlinePickList multivalue multivalueTree pickList pickTree suggestionPickList
Placeholder + + + + + +
Color + + + + + +
RO/Edit + + + + + +
Filter + + + + + +
Drilldown + + + + + +
Validation + + + + + +
Sort + - - + + +
Required + + + + + +
Property fileUpload
Placeholder +
Color -
RO/Edit +
Filter +
Drilldown -
Validation +
Sort +
Required +
Property money number percent
Placeholder + + +
Color + + +
RO/Edit + + +
Filter + + +
Drilldown + + +
Validation + + +
Sort + + +
Required + + +
Property input richText text
Placeholder + + +
Color + - +
RO/Edit + + +
Filter + + +
Drilldown + - +
Validation + + +
Sort + + +
Required + + +

How to add block fields?

Example

Step1 Add Block "fields": [ ]: in json

label - title field (optional) key - name field in DTO (required) type - see standard types (required)

"fields": [  
    {
        "label": "Custom Field",
        "key": "customField",
        "type": "input"
    }
]