Textarea field type for document entities

When configuring document entities in a use case type, use the field_type property to control how a field is rendered in the Review Center UI. By default, string fields are displayed as single-line input fields. However, some fields such as comments, descriptions, or remarks require more space for longer text content. For fields that require multiline text input, set the field_type to "textarea" in the document entity configuration.

This configuration:

  • Displays the field as a multiline input area
  • Supports longer text content such as comments, descriptions, or remarks
  • Improves readability and editability for reviewers

The supported values for field_type are:

Value Description
string Displays a single-line input field. This is the default when field_type is not specified.
textarea Displays a multiline text area for longer text input.
date Displays a date picker field.
decimal Displays a numeric input field that accepts decimal values.
dropdown Displays a dropdown field with predefined values.

Example:

{

"value": "Comments",

"key": "COMMENTS",

"required": false,

"disabled": false,

"field_type": "textarea",

"min_length": 1,

"max_length": 500

}

This example depicts that:

  • Multiple textarea fields can be configured in the same form. For example, comments, descriptons, remarks.
  • Each textarea field is rendered independently as a multiline input.
  • Validation rules such as required, min_length, and max_length apply consistently to all field types.

    Date and Datetime fields do not use these validation rules.