Skip to content

Support for Composition API #2546

@m-thomson

Description

@m-thomson
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

There doesn't appear to be a documented way to create validated forms using the Vue Composition API. The Composition API is available in Vue 2 (via @vue/composition-api package) and will be a big part of Vue 3.

What does the proposed API look like?

Right now, the Vue instance is required to use Form.createForm( [instance] ), but the Vue instance (this) is not available in the setup() method in the composition API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions