Skip to content

Commit c615251

Browse files
committed
doc: select add searchValue, #5236
1 parent d12edae commit c615251

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

components/select/index.en-US.md

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Select component to select value from options.
4747
| optionFilterProp | Which prop value of option will be used for filter if filterOption is true | string | value | |
4848
| optionLabelProp | Which prop value of option will render as content of select. | string | `children` \| `label`(when use options) | |
4949
| placeholder | Placeholder of select | string\|slot | - | |
50+
| searchValue | The current input "search" text | string | - | |
5051
| showSearch | Whether show search input in single mode. | boolean | false | |
5152
| showArrow | Whether to show the drop-down arrow | boolean | true | |
5253
| size | Size of Select input. `default` `large` `small` | string | default | |

components/select/index.zh-CN.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/_0XzgOis7/Select.svg
4848
| optionFilterProp | 搜索时过滤对应的 option 属性,不支持 children | string | value | |
4949
| optionLabelProp | 回填到选择框的 Option 的属性值,默认是 Option 的子元素。比如在子元素需要高亮效果时,此值可以设为 `value`| string | `children` \| `label`(设置 options 时) | |
5050
| placeholder | 选择框默认文字 | string\|slot | - | |
51+
| searchValue | 控制搜索文本 | string | - | |
5152
| showSearch | 使单选模式可搜索 | boolean | false | |
5253
| showArrow | 是否显示下拉小箭头 | boolean | true | |
5354
| size | 选择框大小,可选 `large` `small` | string | default | |

0 commit comments

Comments
 (0)