mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
docs: update Select's doc #799
This commit is contained in:
parent
65a4555491
commit
02bcdee3c3
@ -16,6 +16,7 @@ function handleChange(value) {
|
|||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<Select defaultValue="lucy" showSearch style={{width:200}}
|
<Select defaultValue="lucy" showSearch style={{width:200}}
|
||||||
|
notFoundContent="找不到呐!"
|
||||||
searchPlaceholder="输入"
|
searchPlaceholder="输入"
|
||||||
onChange={handleChange}>
|
onChange={handleChange}>
|
||||||
<Option value="jack">jack</Option>
|
<Option value="jack">jack</Option>
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
| onSearch | 文本框值变化时回调 | function(value: String) | |
|
| onSearch | 文本框值变化时回调 | function(value: String) | |
|
||||||
| placeholder | 选择框默认文字 | string | 无 |
|
| placeholder | 选择框默认文字 | string | 无 |
|
||||||
| searchPlaceholder | 搜索框默认文字 | string | 无 |
|
| searchPlaceholder | 搜索框默认文字 | string | 无 |
|
||||||
|
| notFoundContent | 当下拉列表为空时显示的内容 | string | 'Not Found' |
|
||||||
| dropdownMatchSelectWidth | 下拉菜单和选择器同宽 | boolean | true |
|
| dropdownMatchSelectWidth | 下拉菜单和选择器同宽 | boolean | true |
|
||||||
| optionFilterProp | 输入项过滤对应的 option 属性 | string | value |
|
| optionFilterProp | 输入项过滤对应的 option 属性 | string | value |
|
||||||
| combobox | 输入框自动提示模式 | boolean | false |
|
| combobox | 输入框自动提示模式 | boolean | false |
|
||||||
|
Loading…
Reference in New Issue
Block a user