import{ax as i,al as s,z as n,A as d,b2 as a,R as r,J as h,B as l}from"./chunks/framework.DkLJC2NO.js";const f=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 g=i(o,[["render",p]]);export{f as __pageData,g as default};