Skip to content

How to use UForm with arrays of objects #1083

@rigtigeEmil

Description

@rigtigeEmil

Description

I can't find an example of creating a form using an array of objects. I've tried my best according to how other form frameworks handle these things, which usually means including an indexer as part of the name.

Example of what I want to achieve, where the form doesn't get submitted, but validation errors are not showing on the array items:
https://stackblitz.com/edit/nuxt-ui-3peuhu?file=app.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions