| 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 |
空 |
是否隐藏 |
| 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(靠右),方便错误提示信息的位置 |
| min |
number |
否 |
null |
空 |
最少选择几项 |
| max |
number |
否 |
null |
空 |
最多选择几项 |
| onClick |
string |
否 |
null |
空 |
单击下拉箭头事件,这样就可以将普通下拉框组合其他组件 |
| multiple |
bool |
否 |
false |
空 |
是否允许多选 |
| valueField |
string |
否 |
value |
空 |
数据字段值名称 |
| textField |
string |
否 |
text |
空 |
数据字段文本名称 |
| url |
string |
否 |
null |
空 |
ajax的后台地址 |
| params |
string |
否 |
null |
空 |
查询参数 |
| dataSource |
string |
否 |
data |
空 |
ajax的返回的数据源中哪个属性作为数据源,为null时直接后台返回的数据作为数据源 |
| data |
string |
否 |
null |
空 |
自定义数据源 |
| extraData |
string |
否 |
null |
空 |
额外的数据,对url有效 |
| onSelect |
string |
否 |
关闭 |
value,text,name,rowData(这一行所有字段) |
选中事件 |
| enableInput |
bool |
否 |
false |
空 |
是否允许用户自定义输入 |
| exceptvalue |
string |
否 |
null |
空 |
需要排除显示的数据 |
| hideClearIcon |
bool |
否 |
false |
空 |
是否隐藏输入框的清楚(icon-clear)按钮 |