diff --git a/.changeset/lovely-starfishes-impress.md b/.changeset/lovely-starfishes-impress.md new file mode 100644 index 000000000000..b8e51c2ce4f5 --- /dev/null +++ b/.changeset/lovely-starfishes-impress.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': patch +--- + +chore: don't error during development when using `use:enhance` with `+server` as some third party libraries make it possible to POST forms to it diff --git a/documentation/docs/20-core-concepts/30-form-actions.md b/documentation/docs/20-core-concepts/30-form-actions.md index fdad1d71485a..86c3b02233a5 100644 --- a/documentation/docs/20-core-concepts/30-form-actions.md +++ b/documentation/docs/20-core-concepts/30-form-actions.md @@ -353,7 +353,7 @@ The easiest way to progressively enhance a form is to add the `use:enhance` acti