文本字段

$cfg['CharEditing']

Type:文本
Default value:‘input’

Defines which type of editing controls should be used for CHAR and VARCHAR columns. Applies to data editing and also to the default values in structure editing. Possible values are:

  • 输入框 (input) - 允许限制输入字数使其不超过 MySQL 字段限制,但无法换行
  • 文本框 (textarea) - 可以换行,但没有字数限制

$cfg['MinSizeForInputField']

Type:整数
Default value:4

定义了当编辑 CHAR 和 VARCHAR 字段时所使用输入框的最小大小。

$cfg['MaxSizeForInputField']

Type:整数
Default value:60

定义了当编辑 CHAR 和 VARCHAR 字段时所使用输入框的最大大小。

$cfg['TextareaCols']

Type:整数
Default value:40

$cfg['TextareaRows']

Type:整数
Default value:15

$cfg['CharTextareaCols']

Type:整数
Default value:40

$cfg['CharTextareaRows']

Type:整数
Default value:2

Number of columns and rows for the textareas. This value will be emphasized (*2) for SQL query textareas and (*1.25) for SQL textareas inside the query window.

The Char* values are used for CHAR and VARCHAR editing (if configured via $cfg['CharEditing']).

$cfg['LongtextDoubleTextarea']

Type:布尔值
Default value:true

Defines whether textarea for LONGTEXT columns should have double size.

$cfg['TextareaAutoSelect']

Type:布尔值
Default value:false

Defines if the whole textarea of the query box will be selected on click.

$cfg['EnableAutocompleteForTablesAndColumns']

Type:布尔值
Default value:true

Whether to enable autocomplete for table and column names in any SQL query box.