Skip to content

Commit 5c4767f

Browse files
cs1707abigail-0111
authored andcommitted
Docs: fix form hide-required-asterisk description (ElemeFE#21045)
1 parent 655c90b commit 5c4767f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/docs/en-US/form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ All components in a Form inherit their `size` attribute from that Form. Similarl
595595
| label-position | position of label. If set to 'left' or 'right', `label-width` prop is also required | string | left / right / top | right |
596596
| label-width | width of label, e.g. '50px'. All its direct child form items will inherit this value. Width `auto` is supported. | string |||
597597
| label-suffix | suffix of the label | string |||
598-
| hide-required-asterisk | whether required fields should have a red asterisk (star) beside their labels | boolean || false |
598+
| hide-required-asterisk | whether to hide a red asterisk (star) next to the required field label. | boolean || false |
599599
| show-message | whether to show the error message | boolean || true |
600600
| inline-message | whether to display the error message inline with the form item | boolean || false |
601601
| status-icon | whether to display an icon indicating the validation result | boolean || false |

examples/docs/zh-CN/form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ W3C 标准中有如下[规定](https://www.w3.org/MarkUp/html-spec/html-spec_8.h
590590
| label-position | 表单域标签的位置,如果值为 left 或者 right 时,则需要设置 `label-width` | string | right/left/top | right |
591591
| label-width | 表单域标签的宽度,例如 '50px'。作为 Form 直接子元素的 form-item 会继承该值。支持 `auto`| string |||
592592
| label-suffix | 表单域标签的后缀 | string |||
593-
| hide-required-asterisk | 是否显示必填字段的标签旁边的红色星号 | boolean || false |
593+
| hide-required-asterisk | 是否隐藏必填字段的标签旁边的红色星号 | boolean || false |
594594
| show-message | 是否显示校验错误信息 | boolean || true |
595595
| inline-message | 是否以行内形式展示校验信息 | boolean || false |
596596
| status-icon | 是否在输入框中显示校验结果反馈图标 | boolean || false |

0 commit comments

Comments
 (0)