Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dataType param #1526

Open
razvn opened this issue Nov 29, 2024 · 2 comments
Open

Missing dataType param #1526

razvn opened this issue Nov 29, 2024 · 2 comments
Labels
type: documentation A change or addition to the documentation

Comments

@razvn
Copy link

razvn commented Nov 29, 2024

Change Type

Addition

Proposed Changes

I tried this exemple and got an error... with Svelte 5.
Turns out it needs: dataType: 'json' to work:

	const form = superForm(data, {
		dataType: 'json',
		validators: zodClient(formSchema),
	});
@razvn razvn added the type: documentation A change or addition to the documentation label Nov 29, 2024
@razvn razvn changed the title Missing dataType para, Missing dataType param Nov 29, 2024
@huntabyte
Copy link
Owner

Which example did you try?

@razvn
Copy link
Author

razvn commented Nov 30, 2024

Oh it didn’t link to the documentation line ?

const form = superForm(data, {

The from comportement exemple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A change or addition to the documentation
Projects
None yet
Development

No branches or pull requests

2 participants