Skip to content

Multiple Forms on same component Vuejs 3 #4550

@joseneves-dev

Description

@joseneves-dev

What happened?

I am using useForm for two forms in the same component, but something is not working as expected.

My code :
import { useForm } from 'vee-validate'

const xForm = useForm({})

const yForm = useForm({})

I can do everything with yForm, xFrom don't work!
If ichange order yForm over, i can do evrthing with xForm but yForm dosen't work!

My question can i declare two useForm for two diferent forms on the same componente?

Version

Vue.js 3.x and vee-validate 4.x

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge

Code of Conduct

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