-
-
Notifications
You must be signed in to change notification settings - Fork 579
Open
Description
Describe the bug
Following the official guide of form composition with svelte (https://tanstack.com/form/latest/docs/framework/svelte/guides/form-composition)
Anytime i use form.Appfield I get the maximum call stack size exceeded error(log: RangeError: Maximum call stack size exceeded.txt)
I tested a bit a noticed that if i only rendered the form when in browser environment it worked, it seems to be an issue with SSR.
Your minimal, reproducible example
https://tanstack.com/form/latest/docs/framework/svelte/guides/form-composition + SvelteKit
Steps to reproduce
Following the composition guide:
- Create the form context
- Create the form creator function
- Define a form using createAppForm
- Create the example text-field component
- define the text-field component using form.AppField
- Render the form and observe the error in the logs and in the page ( 500 error)
Expected behavior
Expected the form to be properly rendered without errors.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
- OS: MacOS 26.2
- Browser: Chrome (Chromium 143)
- Runtime: Bun
TanStack Form adapter
svelte-form
TanStack Form version
v1.27.7
TypeScript version
v5.9.3
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels