Skip to content

Nested dirty UForm doesn't make it's parent dirty #5144

Description

@KazimirPodolski

Environment

  • Operating System: Linux
  • Node Version: v22.15.0
  • Nuxt Version: -
  • CLI Version: 3.28.0
  • Nitro Version: -
  • Package Manager: pnpm@10.18.0
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Vue

Package

v4.x

Version

v4.6.1

Reproduction

https://codesandbox.io/p/devbox/youthful-herschel-mkjs6p

Description

Not sure if it was intended or not, but a nested UForm's dirty state is not reflected on parent's UForm.

Together with the list of nested forms unavailable in exposed fields it makes unreasonably hard to ignore submittion of a non-dirty form with nested forms.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageAwaiting initial review and prioritization

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions