Skip to content

Inertia compatibility useForm with nuxt/ui forms #4729

@Kumzy

Description

@Kumzy

Description

Hello,

There is an integration of nuxt/UI with Inertia with specifying inertia = true in uiPro() settings for NuxtUIPro.

I would like to be able to use useForm from Inertia with Nuxt/UI forms as Inertia manage my form sending in my Vue project.
useForm allows me to easily handles the errors sent from the backend.

Here is the link to the documentation: https://inertiajs.com/forms

For example, forms in Inertia have a lot of helpers that are really helpful:

  • preserveState / preserveScroll
  • set errors from backend automatically
  • clearErrors
  • Percentage display on form submission
  • defaulting values
  • etc

Thank you

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinertiatriageAwaiting initial review and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions