Bricks Schema 中文文档:多行文本控件

📄 原始资料  |  展开查看原始 JSON(textarea.json){ “$schema”: “https://json-schema.org/draft/2020-12/schema”, “$id”: “bricks://controls/textarea”, “schemaVersion”: “2.3”, “title”: “Textarea Control”, “description”: “Value schema for textarea control type”, “type”: “string”, “controlProperties”: [ “typ…

📄 原始资料  |  展开查看原始 JSON(textarea.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/textarea",
  "schemaVersion": "2.3",
  "title": "Textarea Control",
  "description": "Value schema for textarea control type",
  "type": "string",
  "controlProperties": [
    "type",
    "label",
    "tab",
    "group",
    "placeholder",
    "default"
  ],
  "titleZh": "多行文本控件",
  "descriptionZh": "多行文本控件的值 schema。"
}

前言

多行文本控件的值 schema。

基本信息

  • 英文名称Textarea Control
  • 中文名称:多行文本控件
  • Schema IDbricks://controls/textarea
  • Schema 版本2.3
  • 类型string

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/textarea",
  "schemaVersion": "2.3",
  "title": "Textarea Control",
  "description": "Value schema for textarea control type",
  "type": "string",
  "controlProperties": [
    "type",
    "label",
    "tab",
    "group",
    "placeholder",
    "default"
  ],
  "titleZh": "多行文本控件",
  "descriptionZh": "多行文本控件的值 schema。"
}

补充说明

更多细节可参考 Bricks 官方 Academy 文档