mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
docs: add property colon
for Form.Item (#4505)
* docs: 修改错别字 * docs: add property `colon` for Form.Item `colon` is available since 2.0.0-beta.1
This commit is contained in:
parent
e032fa6a62
commit
927581bb84
@ -115,7 +115,7 @@ Note:
|
||||
| required | Whether provided or not, it will be generated by the validation rule. | boolean | false |
|
||||
| validateStatus | The validation status. If not provided, it will be generated by validation rule. options: 'success' 'warning' 'error' 'validating' | string | |
|
||||
| hasFeedback | Used with `validateStatus`, this option specifies the validation status icon. Recommended to be used only with `Input`. | boolean | false |
|
||||
|
||||
| colon | Used with `label`, whether to display `:` after label text. | boolean | true |
|
||||
<style>
|
||||
.code-box-demo .ant-form:not(.ant-form-inline):not(.ant-form-vertical) {
|
||||
max-width: 540px;
|
||||
|
@ -116,6 +116,7 @@ CustomizedForm = Form.create({})(CustomizedForm);
|
||||
| required | 是否必填,如不设置,则会根据校验规则自动生成 | boolean | false |
|
||||
| validateStatus | 校验状态,如不设置,则会根据校验规则自动生成,可选:'success' 'warning' 'error' 'validating' | string | |
|
||||
| hasFeedback | 配合 validateStatus 属性使用,展示校验状态图标,建议只配合 Input 组件使用 | boolean | false |
|
||||
| colon | 配合 label 属性使用,表示是否显示 label 后面的分号 | boolean | true |
|
||||
|
||||
<style>
|
||||
.code-box-demo .ant-form:not(.ant-form-inline):not(.ant-form-vertical) {
|
||||
|
Loading…
Reference in New Issue
Block a user