Parcourir la source

docs: add Select default-first-option

wacky6 il y a 8 ans
Parent
commit
a3f144e4de
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      examples/docs/en-US/select.md
  2. 1 0
      examples/docs/zh-CN/select.md

+ 1 - 0
examples/docs/en-US/select.md

@@ -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 |

+ 1 - 0
examples/docs/zh-CN/select.md

@@ -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
 | 事件名称 | 说明 | 回调参数 |