From ff9b094f9ddd1760a88cb4ea7ae79ffd5c4e752f Mon Sep 17 00:00:00 2001 From: Carson Gross Date: Mon, 2 Feb 2026 18:31:13 -0700 Subject: [PATCH] clarify docs on when values are included --- www/content/attributes/hx-patch.md | 1 + 1 file changed, 1 insertion(+) diff --git a/www/content/attributes/hx-patch.md b/www/content/attributes/hx-patch.md index 648616f8..31c2d820 100644 --- a/www/content/attributes/hx-patch.md +++ b/www/content/attributes/hx-patch.md @@ -23,3 +23,4 @@ This example will cause the `button` to issue a `PATCH` to `/account` and swap t * You can control the swap strategy by using the [hx-swap](@/attributes/hx-swap.md) attribute * You can control what event triggers the request with the [hx-trigger](@/attributes/hx-trigger.md) attribute * You can control the data submitted with the request in various ways, documented here: [Parameters](@/docs.md#parameters) +* By default, `hx-patch` _will_ include the inputs of an enclosing form in the request body