下拉面板 PanelPicker

1.状态属性

属性名称 数据类型 是否必填 默认值 回传参数 说明
name string null 表单字段名称(最多可以传三个,用逗号隔开)
label string null 表单字段描述
width number null 宽度
height number null 高度
value number,string "" 默认值
text number,string "" 默认文本值
placeholder string null 文本框内部预留文字
readonly bool false 是否只读
required bool false 是否必填
onlyline bool false 是否只占一行
hide bool false 是否隐藏
regexp bool null 自定义正则表达式
invalidTip bool null 自定义的错误提示信息
style Object null 自定义style
className string null 自定义class
size enum default 组件大小,default(只占一列),large(两列),onlyline(一行)
position enum default 组件位置,default(默认),left(靠左),right(靠右),方便错误提示信息的位置
valueField string value 数据字段值名称
textField string text 数据字段文本名称
onSelect string 关闭 value,text,name,rowData(这一行所有字段) 选中事件
chldren element null 子组件

2.只读属性

方法名 参数名 参数说明 返回值类型 说明
validate null 验证有效性

results matching ""

    No results matching ""