Skip to content

Commit 900f393

Browse files
committed
docs(form): add version required
1 parent 4449009 commit 900f393

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

document/components/docs/en-US/form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,6 @@ CubeForm is a schema-based form generator component.
471471

472472
| Method name | Description | Parameters | Returned value |
473473
| - | - | - | - |
474-
| submit | submit form | skipValidate: default `false`, if skipValidate is `true` then will be trigged submit event without validating | - |
474+
| submit | submit form | skipValidate: default `false`, if skipValidate is `true` then will be trigged submit event without validating<sup>1.12.2+</sup> | - |
475475
| reset | reset form | - | - |
476476
| validate(cb) | validate form | cb: validated callback function, used to async validating cases normally. The arguments is the `valid` value | If supported Promise then the returned value will be Promise instance(Only have resolved state, the resolved value is `valid`), otherwise the returned value is `undefined` |

document/components/docs/zh-CN/form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,6 @@
471471

472472
| 方法名 | 说明 | 参数 | 返回值 |
473473
| - | - | - | - |
474-
| submit | 提交表单 | skipValidate, 默认 false,如果为 true 代表不校验 直接 submit | - |
474+
| submit | 提交表单 | skipValidate, 默认 false,如果为 true 代表不校验 直接 submit<sup>1.12.2+</sup> | - |
475475
| reset | 重置表单 | - | - |
476476
| validate(cb) | 校验表单 | cb: 校验完成后回调函数,主要用于异步校验场景,调用参数为 valid 的值 | 如果支持 Promise 的话返回值是 Promise 对象(只有 resolved 状态,值为 valid),否则 undefined |

0 commit comments

Comments
 (0)