Bricks Schema 中文文档:重复器控件

📄 原始资料  |  展开查看原始 JSON(repeater.json){ “$schema”: “https://json-schema.org/draft/2020-12/schema”, “$id”: “bricks://controls/repeater”, “schemaVersion”: “2.3”, “title”: “Repeater Control”, “description”: “Repeatable fields array”, “type”: “array”, “items”: { “type”: “object” }, “controlProp…

📄 原始资料  |  展开查看原始 JSON(repeater.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/repeater",
  "schemaVersion": "2.3",
  "title": "Repeater Control",
  "description": "Repeatable fields array",
  "type": "array",
  "items": {
    "type": "object"
  },
  "controlProperties": [
    "type",
    "label",
    "placeholder",
    "tab",
    "group",
    "multiple",
    "hasRequired",
    "inline",
    "default",
    "units",
    "options",
    "css"
  ],
  "titleZh": "重复器控件",
  "descriptionZh": "可重复字段数组。"
}

前言

可重复字段数组。

基本信息

  • 英文名称Repeater Control
  • 中文名称:重复器控件
  • Schema IDbricks://controls/repeater
  • Schema 版本2.3
  • 类型array

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/repeater",
  "schemaVersion": "2.3",
  "title": "Repeater Control",
  "description": "Repeatable fields array",
  "type": "array",
  "items": {
    "type": "object"
  },
  "controlProperties": [
    "type",
    "label",
    "placeholder",
    "tab",
    "group",
    "multiple",
    "hasRequired",
    "inline",
    "default",
    "units",
    "options",
    "css"
  ],
  "titleZh": "重复器控件",
  "descriptionZh": "可重复字段数组。"
}

补充说明

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