Skip to content

Single Text

A single-line text input box where users need to fill in the corresponding content in the input box based on the title.

Description

ItemContent
CategoryText Type
SortableYes
FilterableYes
Supported Filter TypesContains, Does Not Contain, Equal To, Not Equal To, Is Empty, Is Not Empty, Starts With, Ends With, In List, Not In List

Settings

SettingDescription
Allow EmptySet whether the field is required
Placeholder When Empty in FormText displayed in the input box when no information is entered in the field
Length LimitSet the string length limit for the field (default 0~200). The input limit depends on the Storage length.
Storage LengthData storage length (default 200). Can be adjusted according to scenario needs.
Default ValueCan set the default value for the field
FormatSet the format of the field. Different formats have different restriction rules.
Options: Text, Email, URL, Phone Number, ID Card Number
Sort by PinyinWhen enabled, an auto-complete list will be displayed when users enter content
Auto-CompleteWhen enabled, an auto-complete list will be displayed when users enter content
Trigger Auto-Complete After FocusWhen auto-complete is enabled, whether to automatically trigger completion when the input box gains focus
Call Automation to Set Auto-Complete ListWhen auto-complete is enabled, the automation that returns the completion list
Automation Input ParametersWhen auto-complete is enabled, the data parameters passed when calling the completion automation. Dynamic input parameters can be passed using expressions
Extension ButtonCan add custom controls to the field. Added controls will appear on the right side of the field input box

Sort by Pinyin

In different character sets, the encoding of Chinese characters may be different, such as UTF8 and GBK. Among them, GBK is encoded in pinyin order, while UTF8 is not. Therefore, if the database uses UTF8 encoding, when sorting Chinese fields, the result may not be sorted by pinyin. In PostgreSQL, the encodings for sorting Chinese by pinyin include GB18030, EUC_CN, GBK, BIG5, EUC_TW, etc. For details, please refer to Postgres Supported Character Sets

TIP

After enabling Sort by Pinyin, the field will be converted to GB18030 encoding using the convert_to function for sorting.

Auto-Complete

In some scenarios, it is expected to automatically provide an available list of completion options for users to choose based on the content entered by the user.

Auto-Complete

  • Trigger Auto-Complete After Focus

    When enabled, if queryString is used in the completion automation, it needs to be set to optional in the input parameters of the automation.

  • Return Value of Completion Automation

    The auto-complete list needs to be obtained by calling automation, and the return value of the automation must be Array<String>.

Storage Format in Database

Field TypeDescription
varchar(200)Variable-length string, maximum 200 characters

Usage Examples

Input Format

Auto-Complete

From Data Table Data Source