Skip to content

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

@KazimirPodolski

Description

@KazimirPodolski

Environment

  • Operating System: Linux
  • Node Version: v22.15.0
  • Nuxt Version: -
  • CLI Version: 3.28.0
  • Nitro Version: -
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Vue

Package

v4.x

Version

v4.0.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

    bugSomething isn't workingtriageAwaiting initial review and prioritizationv4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions