sveltekit-superforms
sveltekit-superforms copied to clipboard
Making SvelteKit forms a pleasure to use!
- [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:...
**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...
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!
**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...
- [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...
- [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...
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',**