diff --git a/.changeset/lemon-mayflies-design.md b/.changeset/lemon-mayflies-design.md new file mode 100644 index 000000000000..7cb208363a9a --- /dev/null +++ b/.changeset/lemon-mayflies-design.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': minor +--- + +feat: expose submitter in use:enhance SubmitFunction diff --git a/documentation/docs/20-core-concepts/30-form-actions.md b/documentation/docs/20-core-concepts/30-form-actions.md index e2587a923faf..7eea5f4fbdb8 100644 --- a/documentation/docs/20-core-concepts/30-form-actions.md +++ b/documentation/docs/20-core-concepts/30-form-actions.md @@ -344,11 +344,12 @@ To customise the behaviour, you can provide a `SubmitFunction` that runs immedia ```svelte