diff --git a/.changeset/honest-actors-arrive.md b/.changeset/honest-actors-arrive.md new file mode 100644 index 000000000000..17412ab29587 --- /dev/null +++ b/.changeset/honest-actors-arrive.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': minor +--- + +breaking: remove `buttonProps` from experimental remote form functions; use e.g. `` button instead diff --git a/documentation/docs/20-core-concepts/60-remote-functions.md b/documentation/docs/20-core-concepts/60-remote-functions.md index 5b14aa0bc738..0e0b7e68e752 100644 --- a/documentation/docs/20-core-concepts/60-remote-functions.md +++ b/documentation/docs/20-core-concepts/60-remote-functions.md @@ -813,37 +813,56 @@ Some forms may be repeated as part of a list. In this case you can create separa {/each} ``` -### buttonProps +### Multiple submit buttons -By default, submitting a form will send a request to the URL indicated by the `