Skip to content

rawChildErrors returned by useVuetifyArrayControl is not reactive #2559

@AlexandraBuzila

Description

@AlexandraBuzila

Describe the bug

useVuetifyArrayControl returns a rawChildErrors property that is intended to expose the unfiltered child errors from the array control. The returned rawChildErrors is a plain ErrorObject[], so it never updates when validation errors change.

Expected behavior

rawChildErrors should be reactive and reflect the current child errors as they change over time

Steps to reproduce the issue

Create a custom array renderer that uses useVuetifyArrayControl and watch rawChildErrors for changes.

Screenshots

No response

Which Version of JSON Forms are you using?

v3.7.0

Package

Vue Vuetify Renderers

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions