mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Form): fix missing onSubmit validate-trigger (#7180)
This commit is contained in:
parent
9b32a13bef
commit
49e92757cb
@ -463,7 +463,7 @@ export default {
|
||||
| label-align | 表单项 label 对齐方式,可选值为 `center` `right` | _string_ | `left` |
|
||||
| input-align | 输入框对齐方式,可选值为 `center` `right` | _string_ | `left` |
|
||||
| error-message-align | 错误提示文案对齐方式,可选值为 `center` `right` | _string_ | `left` |
|
||||
| validate-trigger `v2.5.2` | 表单校验触发时机,可选值为`onChange` | _string_ | `onBlur` |
|
||||
| validate-trigger `v2.5.2` | 表单校验触发时机,可选值为 `onChange`、`onSubmit` | _string_ | `onBlur` |
|
||||
| colon | 是否在 label 后面添加冒号 | _boolean_ | `false` |
|
||||
| validate-first | 是否在某一项校验不通过时停止校验 | _boolean_ | `false` |
|
||||
| scroll-to-error `v2.5.2` | 是否在提交表单且校验不通过时滚动至错误的表单项 | _boolean_ | `false` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user