| 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 |
空 |
子组件 |