diff --git a/docs/content/3.components/form.md b/docs/content/3.components/form.md index 0ee769b7fd..28e551cc74 100644 --- a/docs/content/3.components/form.md +++ b/docs/content/3.components/form.md @@ -101,6 +101,10 @@ The Form component automatically triggers validation when an input emits an `inp You can control when validation happens this using the `validate-on` prop. +::tip +The form always validates on submit. +:: + ::component-example{label="Default"} --- source: false diff --git a/src/runtime/components/Form.vue b/src/runtime/components/Form.vue index 2c2df33054..60fd6f7adb 100644 --- a/src/runtime/components/Form.vue +++ b/src/runtime/components/Form.vue @@ -20,6 +20,7 @@ export interface FormProps { validate?: (state: Partial>) => Promise | FormError[] /** * The list of input events that trigger the form validation. + * @remarks The form always validates on submit. * @defaultValue `['blur', 'change', 'input']` */ validateOn?: FormInputEvents[]