Skip to content

Multiple useForm in same page with different component not working #3270

Description

@sagardspeed2

Versions

  • vee-validate: 4.2.4
  • vue: 3.0.0

Describe the bug

When trying to validate multiple form with same page but defferent component with the composition api and useForm() and useField(), the validation is not working on one component.

So I am trying to make a form in one component and one form in another component which is modal (form in the modal), and then both component are called on one page. In this the form in modal is not validating.

To reproduce

Steps to reproduce the behavior:

  1. Make 2 component and add two form with composition api and useForm and useField validation on them
  2. Call both component in one page
  3. submit the form one by one
  4. one of those form, one will not validate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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