Creating and attaching a formatter

Adding a new formatter

To create a new formatter or edit an existing one, go to the module Library and select the tab Formatters. A list of formatters will be displayed. 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 going to a specific formatter, its content will be displayed in the editor. From this level, you can start editing the artifact and save its new version.

Setting formatting for a component

Components supporting 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

The formatter can be set in the component properties view (the component must be selected first).

The component has 2 properties responsible for the formatter's operation (available in the section Interactions):

FORMATTER

In this field, select the appropriate formatter.

Real-time formatting

Specifies whether formatting occurs after entering the next 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?