Skip to content

Multiple independent forms on a single page #3204

Description

@zluiten

I'm using v4 with the composition api. I don't quite understand how the useForm and useField functions relate to each other.

Currently I'm having multiple small forms on the same page, each with a few fields, maybe even sharing an input field with the same name. I would expect to be able to define some kind of context (a form html element reference?) to be able to set some initial values.

Or do I need to split this page up in sub components to achieve this?

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

    ✨ enhancementa "nice to have" feature🛳 In PRThis issue is being addressed in a PR

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions