mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
docs: update colon
for Form (#18755)
* chore(docs): update for #18719 * better expression
This commit is contained in:
parent
e95466bc15
commit
11a0ebef90
@ -43,7 +43,7 @@ A form consists of one or more form fields whose type includes input, textarea,
|
|||||||
| layout | Define form layout | 'horizontal'\|'vertical'\|'inline' | 'horizontal' | |
|
| layout | Define form layout | 'horizontal'\|'vertical'\|'inline' | 'horizontal' | |
|
||||||
| onSubmit | Defines a function will be called if form data validation is successful. | Function(e:Event) | | |
|
| onSubmit | Defines a function will be called if form data validation is successful. | Function(e:Event) | | |
|
||||||
| wrapperCol | (Added in 3.14.0. Previous version can only set on FormItem.) The layout for input controls, same as `labelCol` | [object](https://ant.design/components/grid/#Col) | | 3.14.0 |
|
| wrapperCol | (Added in 3.14.0. Previous version can only set on FormItem.) The layout for input controls, same as `labelCol` | [object](https://ant.design/components/grid/#Col) | | 3.14.0 |
|
||||||
| colon | change default props colon value of Form.Item | boolean | true | 3.15.0 |
|
| colon | change default props colon value of Form.Item (only effective when prop layout is horizontal) | boolean | true | 3.15.0 |
|
||||||
|
|
||||||
### Form.create(options)
|
### Form.create(options)
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ title: Form
|
|||||||
| layout | 表单布局 | 'horizontal'\|'vertical'\|'inline' | 'horizontal' | |
|
| layout | 表单布局 | 'horizontal'\|'vertical'\|'inline' | 'horizontal' | |
|
||||||
| onSubmit | 数据验证成功后回调事件 | Function(e:Event) | | |
|
| onSubmit | 数据验证成功后回调事件 | Function(e:Event) | | |
|
||||||
| wrapperCol | (3.14.0 新增,之前的版本只能设置到 FormItem 上。)需要为输入控件设置布局样式时,使用该属性,用法同 labelCol | [object](https://ant.design/components/grid-cn/#Col) | | 3.14.0 |
|
| wrapperCol | (3.14.0 新增,之前的版本只能设置到 FormItem 上。)需要为输入控件设置布局样式时,使用该属性,用法同 labelCol | [object](https://ant.design/components/grid-cn/#Col) | | 3.14.0 |
|
||||||
| colon | 配置 Form.Item 的 colon 的默认值 | boolean | true | 3.15.0 |
|
| colon | 配置 Form.Item 的 colon 的默认值 (只有在属性 layout 为 horizontal 时有效) | boolean | true | 3.15.0 |
|
||||||
|
|
||||||
### Form.create(options)
|
### Form.create(options)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user