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
fkit-course/src/routes/[username]/edit/+page.svelte
Line 24 in ce1b40a
bind:value={$formData.title} bind:value={$formData.url}
For some reason, are mutating the original
const formDefaults = { icon: 'custom', title: '', url: 'https://' };
this is an undesired behavior since
formData.set(formDefaults);
is setting the values to the previous once, hence the form is not being resetted.
What is going on?
The text was updated successfully, but these errors were encountered:
I tested Object.freeze(formDefaults); is trying to be violated.
Object.freeze(formDefaults);
Sorry, something went wrong.
No branches or pull requests
fkit-course/src/routes/[username]/edit/+page.svelte
Line 24 in ce1b40a
For some reason, are mutating the original
this is an undesired behavior since
formData.set(formDefaults);
is setting the values to the previous once, hence the form is not being resetted.
What is going on?
The text was updated successfully, but these errors were encountered: