mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Merge branch 'develop-0.10.0' of github.com:ant-design/ant-design into develop-0.10.0
This commit is contained in:
commit
8a62a4d009
@ -25,7 +25,7 @@
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|----------|----------------|----------|--------------|
|
||||
| value | 指定当前选中的条目 | string/Array<String> | 无 |
|
||||
| defaultValue | 指定默认选中的条目 | string/Array<String> | 无 |
|
||||
| defaultValue | 指定默认选中的条目 | string/Array<String> | 无 |
|
||||
| multiple | 支持多选 | | false |
|
||||
| filterOption | 是否根据输入项进行筛选 | | true |
|
||||
| tags | 可以把随意输入的条目作为tag,输入项不需要与下拉选项匹配 | |false |
|
||||
@ -33,6 +33,7 @@
|
||||
| onDeselect | 取消选中时调用,参数为选中的option value值,仅在multiple或tags模式下生效 | function(value, option) | 无 |
|
||||
| onChange | 选中option,或input的value变化(combobox模式下)时,调用此函数 | function(value, label) | 无 |
|
||||
| allowClear | 显示清除按钮 | | false |
|
||||
| onSearch | 文本框值变化时回调 | function(value: String) | |
|
||||
| placeholder | 选择框默认文字 | string | 无 |
|
||||
| searchPlaceholder | 搜索框默认文字 | string | 无 |
|
||||
| optionFilterProp | 输入项过滤对应的 option 属性 | string | value |
|
||||
|
@ -56,9 +56,10 @@
|
||||
"rc-steps": "~1.4.0",
|
||||
"rc-switch": "~1.2.0",
|
||||
"rc-table": "~3.5.0",
|
||||
"rc-tabs": "~5.4.3",
|
||||
"rc-tabs": "~5.5.0",
|
||||
"rc-tooltip": "~3.1.0",
|
||||
"rc-tree": "~0.18.1",
|
||||
"rc-trigger": "~1.0.6",
|
||||
"rc-upload": "~1.6.4",
|
||||
"rc-util": "~3.0.1",
|
||||
"react-slick": "~0.9.1",
|
||||
|
Loading…
Reference in New Issue
Block a user