docs: add Select default-first-option

pull/4947/head
wacky6 2017-05-17 17:23:04 +08:00 committed by 杨奕
parent e2e31790da
commit a3f144e4de
2 changed files with 2 additions and 0 deletions

View File

@ -657,6 +657,7 @@ Create and select new items that are not included in select options
| no-match-text | displayed text when no data matches the filtering query | string | — | No matching data |
| no-data-text | displayed text when there is no options | string | — | No data |
| popper-class | custom class name for Select's dropdown | string | — | — |
| default-first-option | select first matching option on enter key. Use with `filterable` or `remote` | boolean | - | false |
### Select Events
| Event Name | Description | Parameters |

View File

@ -652,6 +652,7 @@
| no-match-text | 搜索条件无匹配时显示的文字 | string | — | 无匹配数据 |
| no-data-text | 选项为空时显示的文字 | string | — | 无数据 |
| popper-class | Select 下拉框的类名 | string | — | — |
| default-first-option | 在输入框按下回车,选择第一个匹配项。需配合 `filterable``remote` 使用 | boolean | - | false |
### Select Events
| 事件名称 | 说明 | 回调参数 |