sveltekit-superforms
sveltekit-superforms copied to clipboard
Making SvelteKit forms a pleasure to use!
I have a schema that looks roughly like this (updated) ```ts const morningSchema = z.literal('morning').transform(() => ({ from: '06:00', to: '11:00' })); const noonSchema = z.literal('noon').transform(() => ({ from: '11:00',...
**Is your feature request related to a problem? Please describe.** To have generic components it's sometimes neccessary to pass down union types where only an intersection of the type is...
**Is your feature request related to a problem? Please describe.** I use simple-runtypes for my data validation in my project but SuperForms does not support it. **Describe the solution you'd...
I'm looking for ideas on how to separate the code to make a Svelte-only version of Superforms. It should share as much code as possible with the SK version, and...
**Description** Hello, I have a form with ``, I'm using a dateProxy to convert it to the right type, that's working great. The issue I'm having is I have this...
- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** Device OS: **Safari IOS 13.6** Repo: https://github.com/ciscoheat/superforms-examples/tree/components-zod I got an error with `use:enhance` when using...
**Is your feature request related to a problem? Please describe.** I'm using Decimal.js in zod schemas. When I use the superForm with dataType='json', posting data fails during devalue.stringify, because it...
Hi and thank you for the awesome library! When using Superforms in runes mode on the entire app (https://svelte-5-preview.vercel.app/docs/runes#how-to-opt-in) in Svelte 5, an error is thrown: "``...SuperDebug.svelte:90:1 Cannot use `export...
Hello, I post this in a different issue, but since it was closed I am going to create a different issue. I am creating a simple form. I am validating...
Fixes #396 Currently, it's not possible to add new forms after component init because life hooks functions are being called when a form is created This PR moves calls to...