Browse Source

doc: uddate table

pull/4779/head
tangjinzhou 3 years ago
parent
commit
f0f71787c7
  1. 1
      components/form/index.en-US.md
  2. 1
      components/form/index.zh-CN.md

1
components/form/index.en-US.md

@ -49,7 +49,6 @@ A form consists of one or more form fields whose type includes input, textarea,
| Events Name | Description | Arguments | Version |
| --- | --- | --- | --- | --- |
| submit | Defines a function will be called if form data validation is successful. | Function(e:Event) | |
| validate | triggers after a form item is validated | name of the form item being validated, whether validation is passed and the error message if not | |
| finish | Trigger after submitting the form and verifying data successfully | function(values) | - | 2.0.0 |
| finishFailed | Trigger after submitting the form and verifying data failed | function({ values, errorFields, outOfDate }) | - | 2.0.0 |

1
components/form/index.zh-CN.md

@ -50,7 +50,6 @@ cover: https://gw.alipayobjects.com/zos/alicdn/ORmcdeaoO/Form.svg
| 事件名称 | 说明 | 回调参数 | 版本 |
| --- | --- | --- | --- | --- |
| submit | 数据验证成功后回调事件 | Function(e:Event) | | |
| validate | 任一表单项被校验后触发 | 被校验的表单项 name 值,校验是否通过,错误消息(如果存在) |
| finish | 提交表单且数据验证成功后回调事件 | function(values) | - | 2.0.0 |
| finishFailed | 提交表单且数据验证失败后回调事件 | function({ values, errorFields, outOfDate }) | - | 2.0.0 |

Loading…
Cancel
Save