From 8318d9af6770e63d5fd0b9a2e4cebbb6d01395ef Mon Sep 17 00:00:00 2001 From: Godefroid Chapelle Date: Thu, 21 Mar 2024 22:25:26 +0100 Subject: [PATCH 1/4] Fix date in CHANGELOG.md (#2419) --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96c04c582..fd2115381 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [1.9.11] - 2024-04-15 +## [1.9.11] - 2024-03-15 * Fix for new issue w/ web sockets & SSE on iOS 17.4 (thanks apple!) * Fix for double script execution issue when using template parsing From c43d48163f578d2e6f719116da650ca351e323b2 Mon Sep 17 00:00:00 2001 From: eduardolat <57238554+eduardolat@users.noreply.github.com> Date: Thu, 21 Mar 2024 15:25:49 -0600 Subject: [PATCH 2/4] Add documentation for multiple CSS selectors in hx-disabled-elt (#2421) This update clarifies the hx-disabled-elt attribute's ability to accept multiple CSS selectors, separated by commas, enabling developers to disable multiple elements simultaneously during an HTTP request. --- www/content/attributes/hx-disabled-elt.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/www/content/attributes/hx-disabled-elt.md b/www/content/attributes/hx-disabled-elt.md index 0b3e6afd6..bc9faf931 100644 --- a/www/content/attributes/hx-disabled-elt.md +++ b/www/content/attributes/hx-disabled-elt.md @@ -21,6 +21,15 @@ Here is an example with a button that will disable itself during a request: When a request is in flight, this will cause the button to be marked with [the `disabled` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled), which will prevent further clicks from occurring. +The `hx-disabled-elt` attribute also supports specifying multiple CSS selectors separated by commas to disable multiple elements during the request. Here is an example that disables a button and a text input field during the request: + +```html +
+ + +
+``` + ## Notes * `hx-disable-elt` is inherited and can be placed on a parent element From 0b296645457459c8abb64e1872eb936db6b0bef0 Mon Sep 17 00:00:00 2001 From: Pi-Cla Date: Sat, 23 Mar 2024 15:46:28 +0000 Subject: [PATCH 3/4] Link to section on CSS Transitions instead of Mozilla page (#2413) --- www/content/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/content/docs.md b/www/content/docs.md index 9c6396902..76ae221f8 100644 --- a/www/content/docs.md +++ b/www/content/docs.md @@ -1037,7 +1037,7 @@ Note that all client side validations must be re-done on the server side, as the ## Animations -Htmx allows you to use [CSS transitions](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions) +Htmx allows you to use [CSS transitions](#css_transitions) in many situations using only HTML and CSS. Please see the [Animation Guide](@/examples/animations.md) for more details on the options available. From 075ec3afdb4bb2a220d10e2e7bf83ca8e8c7b7db Mon Sep 17 00:00:00 2001 From: airblast Date: Sat, 23 Mar 2024 18:46:57 +0300 Subject: [PATCH 4/4] Fix example for mustache in client-side-templates extension. (#2409) * Fix incorrect key name in template. * Remove unnecessary escapes from docs. --- www/content/extensions/client-side-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/content/extensions/client-side-templates.md b/www/content/extensions/client-side-templates.md index b85deb1cb..afcdbca72 100644 --- a/www/content/extensions/client-side-templates.md +++ b/www/content/extensions/client-side-templates.md @@ -81,7 +81,7 @@ a [`