Creating and attaching a formatter

Adding a new formatter

To create a new or edit an existing formatter you must go to the Library module and select the Formatters A list of formatters will be presented. From this view you can create a new formatter, review the save history or edit an existing artifact.

Figure 1. Window with the list of formatters and the context menu of one of the artifacts

Preview / Edit

After navigating to a specific formatter its content will be displayed in the editor. From this level you can begin editing the artifact and save its new version.

Setting formatting for a component

Components that support formatting

Formatting is available for the following components:

  • Text field (Text Field),

  • Text area (Text Area),

  • Date (Date picker).

Setting a formatter for a component

A formatter can be set in the component properties view (you must first select the component).

There are 2 properties available for the component responsible for the formatter's operation (available in the Interactions):

FORMATTER

In this field you should choose the appropriate formatter.

Real-time formatting

Specifies whether formatting occurs after typing each character (property enabled), or after leaving the field (property disabled). The property is disabled by default.

Figure 3. Example of the attached formatter "duzeMaleLitery"

Last updated

Was this helpful?