Skip to content

I'm confused on nested validations #1020

@wishinghand

Description

@wishinghand

If I have a component like so:

<template>
    <FormA />
    <FormB />
    
   <p v-for="error of form.$errors">
      {{ error.$message }}
   </p>

</template>

<script setup>
const form = useValidation();
</script>

I'm unsure of how to bubble up the errors to be collected in the top level useValidation instance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions