doc: select add searchValue, #5236

pull/5240/head
tangjinzhou 2022-02-13 09:38:10 +08:00
parent d12edaea6f
commit c615251136
2 changed files with 2 additions and 0 deletions

View File

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

View File

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