Merge branch 'master' of github.com:ant-design/ant-design

This commit is contained in:
afc163 2016-10-07 21:10:47 +08:00
commit e74b4699e0
2 changed files with 3 additions and 3 deletions

View File

@ -25,5 +25,5 @@ const dataSource = ['12345', '23456', '34567'];
| value | selected option | String/Array<String>/{key: String, label: React.Node}/Array<{key, label}> | - |
| defaultValue | Initial selected option. | string/Array<String> | - |
| allowClear | Show clear button, effective in multiple mode only. | boolean | false |
| onChange | Called when select an option or input value change, or value of input is changed in combobox mode | function(value, label) | - |
| onChange | Called when select an option or input value change, or value of input is changed | function(value, label) | - |
| disabled | Whether disabled select | boolean | false |

View File

@ -22,9 +22,9 @@ const dataSource = ['12345', '23456', '34567'];
| 参数 | 说明 | 类型 | 默认值 |
|----------------|----------------------------------|------------|---------|
| dataSource | 自动完成的数据源 | Array | |
| dataSource | 自动完成的数据源 | Array | |
| value | 指定当前选中的条目 | String/Array<String>/{key: String, label: React.Node}/Array<{key, label}> | 无 |
| defaultValue | 指定默认选中的条目 | String/Array<String>/{key: String, label: React.Node}/Array<{key, label}> | 无 |
| allowClear | 支持清除, 单选模式有效 | boolean | false |
| onChange | 选中 option或 input 的 value 变化combobox 模式下)时,调用此函数 | function(value) | 无 |
| onChange | 选中 option或 input 的 value 变化时,调用此函数 | function(value) | 无 |
| disabled | 是否禁用 | boolean | false |