From 4ed7ac67199e5863edfe7859cf8b64fef5099c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=BD=E5=A4=9A=E5=A4=A7=E7=B1=B3?= Date: Fri, 4 Jun 2021 14:49:00 +0800 Subject: [PATCH] Docs: fix form hide-required-asterisk description (#21045) --- examples/docs/en-US/form.md | 2 +- examples/docs/zh-CN/form.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/docs/en-US/form.md b/examples/docs/en-US/form.md index 08f3fe02b..7eeb7c8ab 100644 --- a/examples/docs/en-US/form.md +++ b/examples/docs/en-US/form.md @@ -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 | diff --git a/examples/docs/zh-CN/form.md b/examples/docs/zh-CN/form.md index 6bb86ee38..27e05e649 100644 --- a/examples/docs/zh-CN/form.md +++ b/examples/docs/zh-CN/form.md @@ -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 |