Text attribute config schema

FieldTypeRequiredDefaultDescription
key
string
Yes-标签名称
value
string
Yes-标签值
type
string
Yesstring标签属性为文本类型
max_length
numbernull
No-最大字符长度
regexp
string
No-字符正则验证
stringType
string
Notext字符类型
defaultValue
string
No-默认值

Example

{
	"key": "标签-1",
	"value": "text-label-1",
	"required": true,
	"type": "string",
	"maxLength": 1000,
	"stringType": "text",
	"defaultValue": ""
}
ON THIS PAGE