Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Oct 18, 2024
1 parent b9e7ef7 commit 5e3261a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/form/src/widgets/select/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Select.
| `[placeholder]` | Placeholder | `string` | - |
| `[autoClearSearchValue]` | Whether clear search box when an option is selected, only valid when `mode` is `multiple` or `tags`. | `boolean` | `true` |
| `[allowClear]` | Allow clear | `boolean` | `false` |
| `[clearValue]` | Default value when cleared | `any` | `undefined` |
| `[borderless]` | Whether has border | `boolean` | `false` |
| `[autoFocus]` | Focused by default | `boolean` | `false` |
| `[dropdownClassName]` | className property of dropdown list | `string` | - |
Expand Down
1 change: 1 addition & 0 deletions packages/form/src/widgets/select/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ order: 6
| `[placeholder]` | 在文字框中显示提示讯息 | `string` | - |
| `[autoClearSearchValue]` | 是否在选中项后清空搜索框,只在 `mode``multiple``tags` 时有效。 | `boolean` | `true` |
| `[allowClear]` | 支持清除 | `boolean` | `false` |
| `[clearValue]` | 清空时默认值 | `any` | `undefined` |
| `[borderless]` | 是否无边框 | `boolean` | `false` |
| `[autoFocus]` | 默认获取焦点 | `boolean` | `false` |
| `[dropdownClassName]` | 下拉菜单的 className 属性 | `string` | - |
Expand Down
1 change: 1 addition & 0 deletions packages/form/widgets/cascader/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Every select triggers a HTTP request, data source is from `asyncData`; includes
| `[placeholder]` | Placeholder | `string` | - |
| `[showSearch]` | Whether support search | `bool` | `false` |
| `[allowClear]` | Whether show clear button | `bool` | `true` |
| `[clearValue]` | Default value when cleared | `any` | `undefined` |
| `[clearText]` | Title of clear button | `string` | `清除` |
| `[showArrow]` | Whether show arrow | `bool` | `true` |
| `[showInput]` | Whether show input | `bool` | `true` |
Expand Down
1 change: 1 addition & 0 deletions packages/form/widgets/cascader/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type: Non-built-in widgets
| `[placeholder]` | 在文字框中显示提示讯息 | `string` | - |
| `[showSearch]` | 是否支持搜索 | `bool` | `false` |
| `[allowClear]` | 是否显示清除按钮 | `bool` | `true` |
| `[clearValue]` | 清空时默认值 | `any` | `undefined` |
| `[clearText]` | 清除按钮的标题 | `string` | `清除` |
| `[showArrow]` | 是否显示箭头 | `bool` | `true` |
| `[showInput]` | 是否显示输入框 | `bool` | `true` |
Expand Down
1 change: 1 addition & 0 deletions packages/form/widgets/tree-select/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Non-built-in modules need to additionally register `withTreeSelectWidget` in [js
| `[placeholder]` | Placeholder | `string` | - |
| `[notFoundContent]` | Text to display when a column is empty | `string` | - |
| `[allowClear]` | Whether show clear button | `boolean` | `false` |
| `[clearValue]` | Default value when cleared | `any` | `undefined` |
| `[dropdownMatchSelectWidth]` | Determine whether the dropdown menu and the select input are the same width | `boolean` | `true` |
| `[dropdownStyle]` | Set the style of the dropdown menu | `object` | - |
| `[dropdownClassName]` | Set className of the dropdown menu | `string` | - |
Expand Down
1 change: 1 addition & 0 deletions packages/form/widgets/tree-select/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type: Non-built-in widgets
| `[placeholder]` | 在文字框中显示提示讯息 | `string` | - |
| `[notFoundContent]` | 当下拉列表为空时显示的内容 | `string` | - |
| `[allowClear]` | 支持清除 | `boolean` | `false` |
| `[clearValue]` | 清空时默认值 | `any` | `undefined` |
| `[dropdownMatchSelectWidth]` | 下拉菜单和选择器同宽 | `boolean` | `true` |
| `[dropdownStyle]` | 下拉菜单的 style 属性 | `object` | - |
| `[dropdownClassName]` | 下拉菜单的 className 属性 | `string` | - |
Expand Down

0 comments on commit 5e3261a

Please sign in to comment.