Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: AutoForm issue with deleting a field in array support example #1009

Open
2 tasks
Us3r-gitHub opened this issue Jan 21, 2025 · 0 comments
Open
2 tasks
Labels
bug Something isn't working

Comments

@Us3r-gitHub
Copy link

Reproduction

https://github.com/unovue/shadcn-vue/blob/dev/apps/www/src/lib/registry/default/example/AutoFormArray.vue

Describe the bug

While experimenting with the array support example from the array-support documentation.

I noticed an issue: when a field is deleted, the data is removed, but an empty field remains, and the item length doesn't update. Even though one item is deleted, the length still shows 2 instead of 1.

Recording:

shadcn-vue.mp4

System Info

-

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@Us3r-gitHub Us3r-gitHub added the bug Something isn't working label Jan 21, 2025
@Us3r-gitHub Us3r-gitHub changed the title [Bug]: AutoForm Issue with Deleting a Field in Array Support Example [Bug]: AutoForm issue with deleting a field in array support example Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant