Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: fix form hide-required-asterisk description #21045

Merged
merged 1 commit into from
Jun 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/docs/en-US/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ All components in a Form inherit their `size` attribute from that Form. Similarl
| label-position | position of label. If set to 'left' or 'right', `label-width` prop is also required | string | left / right / top | right |
| label-width | width of label, e.g. '50px'. All its direct child form items will inherit this value. Width `auto` is supported. | string |||
| label-suffix | suffix of the label | string |||
| hide-required-asterisk | whether required fields should have a red asterisk (star) beside their labels | boolean || false |
| hide-required-asterisk | whether to hide a red asterisk (star) next to the required field label. | boolean || false |
| show-message | whether to show the error message | boolean || true |
| inline-message | whether to display the error message inline with the form item | boolean || false |
| status-icon | whether to display an icon indicating the validation result | boolean || false |
Expand Down
2 changes: 1 addition & 1 deletion examples/docs/zh-CN/form.md
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ W3C 标准中有如下[规定](https://www.w3.org/MarkUp/html-spec/html-spec_8.h
| label-position | 表单域标签的位置,如果值为 left 或者 right 时,则需要设置 `label-width` | string | right/left/top | right |
| label-width | 表单域标签的宽度,例如 '50px'。作为 Form 直接子元素的 form-item 会继承该值。支持 `auto`| string |||
| label-suffix | 表单域标签的后缀 | string |||
| hide-required-asterisk | 是否显示必填字段的标签旁边的红色星号 | boolean || false |
| hide-required-asterisk | 是否隐藏必填字段的标签旁边的红色星号 | boolean || false |
| show-message | 是否显示校验错误信息 | boolean || true |
| inline-message | 是否以行内形式展示校验信息 | boolean || false |
| status-icon | 是否在输入框中显示校验结果反馈图标 | boolean || false |
Expand Down