# ElementContainer

> Props

| props           |   tye    |          default |
| --------------- | :------: | ---------------: |
| index           |  string  |               '' |
| label           |  string  |               '' |
| rules           |   obj    |               {} |
| extra           |    -     |             null |
| required        | boolean  |            false |
| status          |  string  |               '' |
| msg             |  string  |               '' |
| help            |  string  |               '' |
| formState       |    QL    |      formStateQL |
| elementSource   |   DQL    | elementSourceDQL |
| validResult     |   DQL    |  elementValidDQL |
| elementValid    | Function |             noop |
| elementInit     | Function |             noop |
| elementOnChange | Function |             noop |

> 场景

- Form 表单
- 复杂页面 Table,Grid,ListView 的搜索条件

> Issues:some component do not work

- Mention api

Value:

- AutoComplete
- InputNumber
- Rate
- Slider
- Select

Event:

- Checkbox
- Input
- Radio
- Switch

Other

- Cascader:(value, selectedOptions)
- DatePicker:(date,dateString)
- TimePicker:(time,timeString)
- Transfer:(targetKeys, direction, moveKeys)
- TreeSelect:value, label, extra
- Upload:(file,fileList,event)

Issues:

- Mention ?api:mention 的值需要转换,这个暂时考虑加一层过滤
