From c61525113675c0e0971f1ae6335cfa0853894c37 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sun, 13 Feb 2022 09:38:10 +0800 Subject: [PATCH] doc: select add searchValue, #5236 --- components/select/index.en-US.md | 1 + components/select/index.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/components/select/index.en-US.md b/components/select/index.en-US.md index bb90d124e..e5e7c4ca1 100644 --- a/components/select/index.en-US.md +++ b/components/select/index.en-US.md @@ -47,6 +47,7 @@ Select component to select value from options. | optionFilterProp | Which prop value of option will be used for filter if filterOption is true | string | value | | | optionLabelProp | Which prop value of option will render as content of select. | string | `children` \| `label`(when use options) | | | placeholder | Placeholder of select | string\|slot | - | | +| searchValue | The current input "search" text | string | - | | | showSearch | Whether show search input in single mode. | boolean | false | | | showArrow | Whether to show the drop-down arrow | boolean | true | | | size | Size of Select input. `default` `large` `small` | string | default | | diff --git a/components/select/index.zh-CN.md b/components/select/index.zh-CN.md index 53bc018c6..9a0c34836 100644 --- a/components/select/index.zh-CN.md +++ b/components/select/index.zh-CN.md @@ -48,6 +48,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/_0XzgOis7/Select.svg | optionFilterProp | 搜索时过滤对应的 option 属性,不支持 children | string | value | | | optionLabelProp | 回填到选择框的 Option 的属性值,默认是 Option 的子元素。比如在子元素需要高亮效果时,此值可以设为 `value`。 | string | `children` \| `label`(设置 options 时) | | | placeholder | 选择框默认文字 | string\|slot | - | | +| searchValue | 控制搜索文本 | string | - | | | showSearch | 使单选模式可搜索 | boolean | false | | | showArrow | 是否显示下拉小箭头 | boolean | true | | | size | 选择框大小,可选 `large` `small` | string | default | |