| type |
enum |
是 |
text |
空 |
类型(date,datetime,daterange,datetimerange) |
| name |
string |
是 |
null |
空 |
表单字段名称 |
| label |
string |
否 |
null |
空 |
表单字段描述 |
| width |
number |
否 |
null |
空 |
宽度 |
| height |
number |
否 |
null |
空 |
高度 |
| placeholder |
string |
否 |
null |
空 |
文本框内部预留文字 |
| readonly |
bool |
否 |
false |
空 |
是否只读 |
| required |
bool |
否 |
false |
空 |
是否必填 |
| onlyline |
bool |
否 |
false |
空 |
是否只占一行 |
| hide |
bool |
否 |
false |
空 |
是否隐藏 |
| style |
Object |
否 |
null |
空 |
自定义style |
| className |
string |
否 |
null |
空 |
自定义class |
| regexp |
bool |
否 |
null |
空 |
自定义正则表达式 |
| invalidTip |
bool |
否 |
null |
空 |
自定义的错误提示信息 |
| size |
enum |
否 |
default |
空 |
组件大小,default(只占一列),large(两列),onlyline(一行) |
| position |
enum |
否 |
default |
空 |
组件位置,default(默认),left(靠左),right(靠右),方便错误提示信息的位置 |
| onSelect |
string |
否 |
关闭 |
value,text,name,rowData(这一行所有字段) |
选中事件 |