Variable: fieldProps
const
fieldProps:object
Type declaration
cascader
cascader:
object
级联字段,根据字段值变化刷新options
cascader.type
type:
PropType
<string
|string
[]>
defaultValue
defaultValue:
object
默认值
defaultValue.default
default:
undefined
defaultValue.type
type: (
BooleanConstructor
|ObjectConstructor
|StringConstructor
|NumberConstructor
|ArrayConstructor
)[]
disabled
disabled:
object
禁用
disabled.type
type:
PropType
<boolean
>
editor
editor:
object
编辑器组件
editor.default
default:
string
editor.type
type:
PropType
<BuiltinFieldEditorType
|VNode
|Record
<string
,any
>>
error
error:
object
校验错误信息
error.type
type:
StringConstructor
hidden
hidden:
object
隐藏域
hidden.type
type:
BooleanConstructor
inline
inline:
object
表单项内容采用inline布局
inline.type
type:
BooleanConstructor
label
label:
object
字段标题文本
label.type
type:
StringConstructor
modelValue
modelValue:
object
字段值
modelValue.type
type:
PropType
<any
>
modelValue.default()
Parameters
context
any
Returns
any
name
name:
object
字段名称
name.type
type:
StringConstructor
options
options:
object
选项数据
options.type
type:
PropType
<FieldOption
[] |FieldOptionsLoader
>
placeholder
placeholder:
object
null 不显示 placeholder
placeholder.type
type:
PropType
<string
|null
>
props
props:
object
编辑器组件参数
props.type
type:
PropType
<Record
<string
,any
>>
readonly
readonly:
object
只读
readonly.type
type:
PropType
<boolean
>
size
size:
object
输入框尺寸
size.type
type:
PropType
<BaseSize
>
tip
tip:
object
提示文本
tip.type
type:
StringConstructor
tooltipMessage
tooltipMessage:
object
是否在tooltip显示校验信息
tooltipMessage.default
default:
boolean
tooltipMessage.type
type:
PropType
<boolean
|Partial
<ElTooltipProps
>>
tooltipPosition
tooltipPosition:
object
tooltip信息显示相对输入框的位置
tooltipPosition.default
default:
string
tooltipPosition.type
type:
PropType
<"inner"
|"outer"
|number
>
visible
visible:
object
是否显示控制
visible.default
default:
boolean
visible.type
type: (
BooleanConstructor
|ObjectConstructor
|FunctionConstructor
)[]
width
width:
object
width.type
type:
PropType
<string
|number
>
Defined in
packages/ui/types/components/field/types.d.ts:28