组件特性
Field
展示单个参数字段名称、类型和说明的组件。
Usage
Field
string required
The description can be set as prop or in the default slot with full markdown support.
::field{name="Field" type="string" defaultValue="'default'" required}
The _description_ can be set as prop or in the default slot with full **markdown** support.
::
The required marker is controlled by the component’s required prop.
Props
name
string
Field name
type
string
Field type
description
string
Field description
defaultValue
string
Field default value
required
boolean
Whether the field is required