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

Hidden 隐藏域

改值体现于最终提交的表单中,用于例如编辑记录的id这种场景中

TS 定义

typescript
interface Hidden extends FormItem {
  type: 'hidden';
}

点击查看FormItem的定义

基础用法

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

Input Attributes

参数说明类型可选值默认值
name绑定值string
',2))])}const f=i(o,[["render",p]]);export{g as __pageData,f as default};