We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description I made a request which threw an exception during onUpdate. submitting was not reset and so I always have a loading spinner.
submitting
On side note, I tried to look where submitting was set (didn't see any references)
The text was updated successfully, but these errors were encountered:
I can't reproduce this, using this test:
sveltekit-superforms/src/routes/(v2)/v2/spa-error/+page.svelte
Line 4 in 9cbf06f
Sorry, something went wrong.
I'll try to create a sample. Also while looking at this, noticed you cannot use onError to update the message as form is missing.
onError({ form }) { setMessage(form, 'An error occurred while logging in, please try again.'); }, ```
Yes, there is no data for the form to update as an exception was thrown, you have to set $message or other stores directly.
$message
No branches or pull requests
Description
I made a request which threw an exception during onUpdate.
submitting
was not reset and so I always have a loading spinner.On side note, I tried to look where submitting was set (didn't see any references)
The text was updated successfully, but these errors were encountered: