sveltekit-superforms
sveltekit-superforms copied to clipboard
Making SvelteKit forms a pleasure to use!
This is a very weird bug, but it bit me in production really hard. In a server action, I noticed that if I extract the `FormData` from the request and...
I am trying to reset the form manually with `reset()` and it doesn't work. Probably because the schema has changed in `onSubmit` ```ts const { form, errors, message, enhance, reset,...
Fixes [186](https://github.com/ciscoheat/sveltekit-superforms/issues/186). Adds the server side parsing of nested data for progressive enhancement to be used in conjuction with `dataType: 'json'`. Inspired by this [pattern](https://mattstauffer.com/blog/a-little-trick-for-grouping-fields-in-an-html-form/). ``` ``` The example page...
**Description** Im facing issue where trying to define schema in Effect but i keep getting errors ``` Error: Missing annotation at path: ["file"] details: Generating a JSON Schema for this...
The example code on https://superforms.rocks/concepts/multiple-forms (with different form names) does not display messages anymore after Svelte 5 migration. I had a similar page working in Svelte 4.2.7, Sveltekit-Superforms 2.19.1. Here...
- My IDE also sorted the imports in a few files https://standardschema.dev/ Standard Schema is a common interface designed to be implemented by JavaScript and TypeScript schema libraries. The goal...
- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** When validating invalid deeply nested data contained in object in array in object (like [form.arr[i].arr[j].prop](https://github.com/Hejtmus/superforms-MRE-invalid-error-path/blob/7ccdbed0a5fafc436266c999f328da1ee02c9476/src/routes/schema.ts))...
Svelte v5 SuperForms: 2.23.1 TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".svelte" for sveltekit-superforms\dist\client\SuperDebug.svelte
**Description** When testing a form which uses formsnap & superforms the test fails with an error as soon as I try to submit the form (in browser everything works fine)....