Text view

A simple text field to show basic context in a flat page.

Description

The textView component is used to render simple text in a flat page. This component allows you to display basic information on a flat page to provide context to the user.

The following example demonstrates how the text view component appears in the UI Components Showcase example form.

Text view component

Properties

Property Description
Common flat page editor components Common properties in Flat page components.
title The title of the field
text A localized string

Example

The following example demonstrates how the textView component in the example above is configured in the ui_def.json file of the UI Components Showcase example form.

ui_def.json

{
    "type": "textView",
    "title": "form.ShowCasePage.TextViewTitle",
    "text": "form.ShowCasePage.TextViewText"
},

en.json

{
    "TextViewSection": "Text views section",
    "TextViewTitle": "Text view title",
    "TextViewText": "Text view content",
}