import{aw as e,ag as i,y as n,z as l,b0 as a,P as r,H as d,A as p}from"./chunks/framework.BCBheFgR.js";const b=JSON.parse('{"title":"Display 只读文本","description":"","frontmatter":{},"headers":[],"relativePath":"form-config/fields/display.md","filePath":"form-config/fields/display.md"}'),h={name:"form-config/fields/display.md"};function o(c,t,k,m,y,_){const s=i("demo-block");return l(),n("div",null,[t[1]||(t[1]=a(`

Display 只读文本

用于显示,不可编辑

TS 定义

typescript
interface Display extends FormItem {
  type: 'display';
}

点击查看FormItem的定义

基础用法

`,6)),r(s,{type:"form",config:[{type:"display",name:"display",text:"只读文本",defaultValue:"display"}]},{source:d(()=>t[0]||(t[0]=[p("p",null," 在开启多选模式后,默认情况下会展示所有已选中的选项的Tag ",-1)])),_:1}),t[2]||(t[2]=a('

Input Attributes

参数说明类型可选值默认值
name绑定值string
text表单标签string
',2))])}const g=e(h,[["render",o]]);export{b as __pageData,g as default};