import{ax as i,z as a,A as n,b5 as l}from"./chunks/framework.V2ssSR2R.js";const E=JSON.parse('{"title":"FormDialog组件 props","description":"","frontmatter":{},"headers":[],"relativePath":"api/form/form-dialog-props.md","filePath":"api/form/form-dialog-props.md"}'),h={name:"api/form/form-dialog-props.md"};function t(k,s,p,e,r,g){return n(),a("div",null,[...s[0]||(s[0]=[l(`

FormDialog组件 props

config

html
<template>
  <m-form-dialog :config="config"></m-form-dialog>
</template>

<script setup>
  import { ref } from "Vue";

  const config = ref([
    {
      name: "text",
      text: "文本",
    },
    {
      name: "multiple",
      text: "多行文本",
      type: "switch",
    },
  ]);
</script>

values

html
<template>
  <m-form-dialog :values="values"></m-form-dialog>
</template>

<script setup>
  import { ref } from 'Vue';

  const values = ref([
    text: 'text',
    multiply: true,
  ]);
</script>

parentValues

width

labelWidth

表单域标签的宽度,例如 '50px'。 作为 Form 直接子元素的 form-item 会继承该值。 支持 auto。

fullscreen

disabled

inline

labelPosition

zIndex

title

size

confirmText

preventSubmitDefault

closeOnClickModal

closeOnPressEscape

destroyOnClose

showClose

showCancel

`,43)])])}const o=i(h,[["render",t]]);export{E as __pageData,o as default};