Browse Source

docs: update Select's doc #799

pull/828/head
Benjy Cui 9 years ago
parent
commit
02bcdee3c3
  1. 1
      components/select/demo/search.md
  2. 1
      components/select/index.md

1
components/select/demo/search.md

@ -16,6 +16,7 @@ function handleChange(value) {
ReactDOM.render(
<Select defaultValue="lucy" showSearch style={{width:200}}
notFoundContent="找不到呐!"
searchPlaceholder="输入"
onChange={handleChange}>
<Option value="jack">jack</Option>

1
components/select/index.md

@ -36,6 +36,7 @@
| onSearch | 文本框值变化时回调 | function(value: String) | |
| placeholder | 选择框默认文字 | string | 无 |
| searchPlaceholder | 搜索框默认文字 | string | 无 |
| notFoundContent | 当下拉列表为空时显示的内容 | string | 'Not Found' |
| dropdownMatchSelectWidth | 下拉菜单和选择器同宽 | boolean | true |
| optionFilterProp | 输入项过滤对应的 option 属性 | string | value |
| combobox | 输入框自动提示模式 | boolean | false |

Loading…
Cancel
Save