Skip to content

Commit c247cae

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents b0ffe98 + 075ec3a commit c247cae

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## [1.9.11] - 2024-04-15
3+
## [1.9.11] - 2024-03-15
44

55
* Fix for new issue w/ web sockets & SSE on iOS 17.4 (thanks apple!)
66
* Fix for double script execution issue when using template parsing

www/content/attributes/hx-disabled-elt.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ Here is an example with a button that will disable itself during a request:
2121
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),
2222
which will prevent further clicks from occurring.
2323

24+
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:
25+
26+
```html
27+
<form hx-post="/example" hx-disabled-elt="input[type='text'], button">
28+
<input type="text" placeholder="Type here...">
29+
<button type="submit">Send</button>
30+
</form>
31+
```
32+
2433
## Notes
2534

2635
* `hx-disable-elt` is inherited and can be placed on a parent element

www/content/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ Note that all client side validations must be re-done on the server side, as the
10371037

10381038
## Animations
10391039

1040-
Htmx allows you to use [CSS transitions](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions)
1040+
Htmx allows you to use [CSS transitions](#css_transitions)
10411041
in many situations using only HTML and CSS.
10421042

10431043
Please see the [Animation Guide](@/examples/animations.md) for more details on the options available.

www/content/extensions/client-side-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ a [`<template>` tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/t
8181
<p id="content">Start</p>
8282

8383
<template id="foo">
84-
<p> {% raw %}{{userID}}{% endraw %} and {% raw %}{{id}}{% endraw %} and {% raw %}{{title}}{% endraw %} and {% raw %}{{completed}}{% endraw %}</p>
84+
<p> {{userId}} and {{id}} and {{title}} and {{completed}}</p>
8585
</template>
8686
</div>
8787
</body>

0 commit comments

Comments
 (0)