sveltekit-superforms icon indicating copy to clipboard operation
sveltekit-superforms copied to clipboard

Making SvelteKit forms a pleasure to use!

Results 124 sveltekit-superforms issues
Sort by recently updated
recently updated
newest added

- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** On a zod schema, when using `.optional()` with `.refine()`, the method `superValidate(zod(schema)` fails with error:...

bug
documentation

**Description** The posted store returned from the `superForm` function is set to true whenever the form is submitted, even when it fails to submit with a success result. This worked...

bug

Can we consider supporting https://github.com/Effect-TS/effect/tree/main/packages/schema ? If it looks like something we can support, willing to work on it!

enhancement
adapter

**Is your feature request related to a problem? Please describe.** Many backends for svelte apps are written in python using [FastAPI](https://github.com/tiangolo/fastapi) and [Pydantic](https://github.com/pydantic/pydantic). When a project uses this stack, Sveltekit...

enhancement

- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** I tried retuning multiple superforms in an array, but I could not use it in...

bug
later
svelte-5

- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. - [ ] If you're posting a bug for [Superforms v2](https://superforms.rocks/migration-v2), make sure you're on the...

bug
later
confirmed
v1

I'm trying to factor out my form into a component, [as described in the documentation](https://superforms.rocks/components#factoring-out-a-form). However, I can't figure out how to export a [snapshot](https://superforms.rocks/concepts/snapshots) of my form when doing...

**Description** I have been experimenting with shallow routing and found that if you submit a superform (SPA mode) the `$page.state` variable is cleared which consequently kind of 'breaks' shallow routing...

- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** I want to load some default data from a database to initially populate the form....

i want to set additional header data when i submit the form // method: 'POST', mode: 'cors', **headers: { 'Content-Type': 'application/json', 'x-csrftoken': csrfcookie() } credentials: 'include',**