From 46eec2d58340bbb5f616385213d5f69b80ce0333 Mon Sep 17 00:00:00 2001 From: "svelte-docs-bot[bot]" <196124396+svelte-docs-bot[bot]@users.noreply.github.com> Date: Thu, 9 Oct 2025 06:56:14 +0000 Subject: [PATCH] sync kit docs --- .../content/docs/kit/20-core-concepts/60-remote-functions.md | 2 ++ 1 file changed, 2 insertions(+) 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: