sveltekit-superforms
sveltekit-superforms copied to clipboard
Making SvelteKit forms a pleasure to use!
Before the Zod package version `4.0.5` upgrade (when Zod v4 was still used with the `zod/v4` import), URL form fields would work normally and filling out an invalid URL would...
- [X] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** Basically the title of the issue: ```typescript const formSchema = z.object({ "orderby": z.boolean().default(true), // Set...
- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** Importing `SuperDebug` from sveltekit-superforms as recommended in #592 throws the following error in the client...
Error trace: ``` Error: [additional.name] No types found for defaults ❯ Defaults_traverseAndReplace src/lib/errors.ts:293:11 291| // Return if checking for errors, as there may be deep errors that doesn't exist in...
**Is your feature request related to a problem? Please describe.** **Edit:** Maybe I have the whole idea of this wrong, let me know... I want to be able to use...
- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** I would like to add a validation rule to ensure at least one checkbox is...
- [x] Before posting an issue, read the [FAQ](https://superforms.rocks/faq) and search the previous issues. **Description** Even if I cancel the submit in `onSubmit`, to call a remote function instead, it...
### Problem/Motivation SvelteKit has introduced a new concept of "Remote Functions" (specifically the `form` type) as discussed in [sveltejs/kit#13897](https://github.com/sveltejs/kit/discussions/13897). These functions aim to provide a type-safe, collocated, and progressively enhanced...
` node_modules/.pnpm/@[email protected]/node_modules/@vinejs/vine/build/chunk-YXNUTVGP.js:367:48: 367 │ ...const { resolve4, resolve6 } = await import("node:dns/promises"); ╵ ~~~~~~~~~~~~~~~~~~~ at failureErrorWithLog (D:\ZUNO\dadsnetwork\adv-front\node_modules\.pnpm\[email protected]\node_modules\esbuild\lib\main.js:1467:15) at D:\ZUNO\dadsnetwork\adv-front\node_modules\.pnpm\[email protected]\node_modules\esbuild\lib\main.js:926:25 at D:\ZUNO\dadsnetwork\adv-front\node_modules\.pnpm\[email protected]\node_modules\esbuild\lib\main.js:1345:9 at process.processTicksAndRejections (node:internal/process/task_queues:105:5)` I am using superforms with zod...
I'm building a simple search form and it uses the `method="GET"` on the form to have automatic search queries update on the url and everything is properly handled by Sveltekit...