Skip to content

Commit

Permalink
Docs: fix form hide-required-asterisk description (ElemeFE#21045)
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 authored and cn3lfs committed Feb 24, 2022
1 parent 5731a6d commit aaa38ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit aaa38ac

Please sign in to comment.