[Vuejs]-How to handle duplicated v-slot names in vee-validate

0👍

destructed slot properties may be renamed (errorsformErrors):

<Form
  v-slot="{ errors: formErrors }"
  as="v-form"
>
  <v-card-text>
    ...
    <Field
      v-slot="{ field, errors }"
      ...
    >
      <v-text-field
        ...
        :error-messages="errors"
        v-on:keyup.enter="() => {console.log(formErrors)}"
      ></v-text-field>
    </Field>
  </v-card-text>
</Form>

Leave a comment