Bricks Schema 中文文档:复选框控件

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

📄 原始资料  |  展开查看原始 JSON(checkbox.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/checkbox",
  "schemaVersion": "2.3",
  "title": "Checkbox Control",
  "description": "Value schema for checkbox control type",
  "type": "boolean",
  "controlProperties": [
    "type",
    "label",
    "deprecated",
    "tab",
    "group",
    "hasRequired",
    "css",
    "inline",
    "placeholder"
  ],
  "titleZh": "复选框控件",
  "descriptionZh": "复选框控件类型的值 schema。"
}

前言

复选框控件类型的值 schema。

基本信息

  • 英文名称Checkbox Control
  • 中文名称:复选框控件
  • Schema IDbricks://controls/checkbox
  • Schema 版本2.3
  • 类型boolean

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/checkbox",
  "schemaVersion": "2.3",
  "title": "Checkbox Control",
  "description": "Value schema for checkbox control type",
  "type": "boolean",
  "controlProperties": [
    "type",
    "label",
    "deprecated",
    "tab",
    "group",
    "hasRequired",
    "css",
    "inline",
    "placeholder"
  ],
  "titleZh": "复选框控件",
  "descriptionZh": "复选框控件类型的值 schema。"
}

补充说明

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