Browse Source

fix form validation

Olivier Massot 2 years ago
parent
commit
474ad33ae5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/Ui/Form.vue

+ 1 - 1
components/Ui/Form.vue

@@ -343,7 +343,7 @@ const onValidationChange = (event: boolean | null) => {
  * @see https://vuetifyjs.com/en/api/v-form/#functions-validate
  */
 const validate = async function () {
-  const validation = form.value.validate()
+  const validation = await form.value.validate()
   isValid.value = validation.valid
   errors.value = validation.errors
 }