diff --git a/document/components/docs/en-US/form.md b/document/components/docs/en-US/form.md index 19326c0a4e0ce105045a7138f247d08bf55e8392..7ff891648016a8a1777224f0425b05bc7e438965 100644 --- a/document/components/docs/en-US/form.md +++ b/document/components/docs/en-US/form.md @@ -443,7 +443,7 @@ CubeForm is a schema-based form generator component. | Event Name | Description | Parameters 1 | Parameters 2 | | - | - | - | - | -| submit | Form submit, only trigged when the form's validation is ok | e - event | form model value | +| submit | Form submit, only trigged when the form's validation is ok. If only have sync validators, this event will not be prevented by default. If have async validators, this event will be prevented by default. | e - event | form model value | | reset | Form reset | e - event | - | | validate | Form validated | Properties:
{
validity,
valid,
invalid,
dirty,
firstInvalidFieldIndex
} | - | | valid | Form valid | Validity result | - | diff --git a/document/components/docs/zh-CN/form.md b/document/components/docs/zh-CN/form.md index 4d054e90b5bd116df4ec260bcd388e378472ce75..b0d63efe4db4f76a83fd734821f7a2ac858e3330 100644 --- a/document/components/docs/zh-CN/form.md +++ b/document/components/docs/zh-CN/form.md @@ -443,7 +443,7 @@ | 事件名 | 说明 | 参数1 | 参数2 | | - | - | - | - | -| submit | 表单校验通过后触发此事件 | e - 事件对象 | model 值 | +| submit | 表单校验通过后触发此事件,如果只有同步校验,则不会阻止默认行为,而如果包含了异步校验,则默认就会阻止默认行为 | e - 事件对象 | model 值 | | reset | 表单重置事件 | e - 事件对象 | - | | validate | 表单校验事件 | 参数结构如下:
{
validity,
valid,
invalid,
dirty,
firstInvalidFieldIndex
} | - | | valid | 表单校验成功触发 | validity 校验结果 | - |