diff --git a/apps/svelte.dev/content/docs/kit/20-core-concepts/60-remote-functions.md b/apps/svelte.dev/content/docs/kit/20-core-concepts/60-remote-functions.md index eb1e5f4a7..326ff1554 100644 --- a/apps/svelte.dev/content/docs/kit/20-core-concepts/60-remote-functions.md +++ b/apps/svelte.dev/content/docs/kit/20-core-concepts/60-remote-functions.md @@ -758,6 +758,8 @@ We can customize what happens when the form is submitted with the `enhance` meth ``` +> When using `enhance`, the `
` is not automatically reset — you must call `form.reset()` if you want to clear the inputs. + The callback receives the `form` element, the `data` it contains, and a `submit` function. To enable client-driven [single-flight mutations](#form-Single-flight-mutations), use `submit().updates(...)`. For example, if the `getPosts()` query was used on this page, we could refresh it like so: