ciscoheat / sveltekit-superforms

Making SvelteKit forms a pleasure to use!
https://superforms.rocks
MIT License
2.13k stars 63 forks source link

delete nested element: Validation data not found: items,0,type #113

Closed rburgst closed 1 year ago

rburgst commented 1 year ago

Description When removing elements from a nested data field, I get the following error:

Error: Validation data not found: items,0,type

If applicable, a MRE Use this stackblitz template to create a minimal reproducible example that you can link to here:

https://stackblitz.com/edit/sveltekit-superforms-testing-l35dv1?file=src/routes/+page.svelte

To repro, click the "add link" button a couple of times, then press one of the "-" buttons.

ciscoheat commented 1 year ago

This should hopefully be fixed now with v0.8.3. Please check it out!

rburgst commented 1 year ago

This seems to work now. Thanks a lot for your very rapid response!

ciscoheat commented 1 year ago

Great, the whole client-side validation was a bit of a hassle, but I hope it will be stable from now on!