Merge branch 'master' into dev

# Conflicts:
#	www/content/extensions/client-side-templates.md
This commit is contained in:
Carson Gross 2024-04-16 14:40:31 -06:00
commit 81afe922d7
5 changed files with 31 additions and 16 deletions

View File

@ -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

View File

@ -92,15 +92,15 @@ Thank you to all our generous <a href="https://github.com/sponsors/bigskysoftwar
<table id="sponsor-table">
<tr>
<td colspan="3">
<a href="https://hydrahost.com"><img src="/img/hydra-hosting.svg" alt="The GPU Marketplace" style="width:100%;"></a>
<a data-github-account="NotASithLord" href="https://hydrahost.com"><img src="/img/hydra-hosting.svg" alt="The GPU Marketplace" style="width:100%;"></a>
</td>
</tr>
<tr>
<td>
<a href="https://www.jetbrains.com"><img src="/img/jetbrains.png" alt="Jetbrains" style="max-width:30%;min-width:100px;"></a>
<a data-github-account="JetBrainsOfficial" href="https://www.jetbrains.com"><img src="/img/jetbrains.png" alt="Jetbrains" style="max-width:30%;min-width:100px;"></a>
</td>
<td>
<a href="https://www.commspace.co.za"><img src="/img/commspace.svg" alt="commspace" style="min-width:200px"></a>
<a data-github-account="commspace" href="https://www.commspace.co.za"><img src="/img/commspace.svg" alt="commspace" style="min-width:200px"></a>
</td>
<td>
<a href="https://github.blog/2023-04-12-github-accelerator-our-first-cohort-and-whats-next"><img src="/img/Github_Logo.png" alt="GitHub" style="max-width:30%;min-width:100px;"></a>
@ -108,15 +108,15 @@ Thank you to all our generous <a href="https://github.com/sponsors/bigskysoftwar
</tr>
<tr>
<td>
<a href="https://craftcms.com"><img src="/img/logo-craft-cms.svg" alt="craft cms" style="width:90%;max-width:200px"></a>
<a data-github-account="craftcms" href="https://craftcms.com"><img src="/img/logo-craft-cms.svg" alt="craft cms" style="width:90%;max-width:200px"></a>
</td>
<td>
<a href="https://buttercms.com/?utm_campaign=sponsorship&utm_medium=banner&utm_source=htmxhome">
<a data-github-account="ButterCMS" href="https://buttercms.com/?utm_campaign=sponsorship&utm_medium=banner&utm_source=htmxhome">
<img src="/img/butter-cms.svg" alt="ButterCMS" style="width:100%;max-width:200px">
</a>
</td>
<td>
<a href="https://black.host">
<a data-github-account="Black-HOST" href="https://black.host">
<img src="/img/blackhost-logo.svg" alt="Black Host" style="width:100%;max-width:200px">
</a>
</td>
@ -128,7 +128,7 @@ Thank you to all our generous <a href="https://github.com/sponsors/bigskysoftwar
</a>
</td>
<td>
<a href="https://twitter.com/sekunho_/"><img src="/img/sekun-doggo.jpg" alt="Hiro The Doggo" style="border: 2px solid lightgray; border-radius:20px; width:100%;max-width:150px"></a>
<a data-github-account="sekunho" href="https://twitter.com/sekunho_/"><img src="/img/sekun-doggo.jpg" alt="Hiro The Doggo" style="border: 2px solid lightgray; border-radius:20px; width:100%;max-width:150px"></a>
</td>
<td>
<a href="https://www.dasfilter.shop/">
@ -143,22 +143,22 @@ Thank you to all our generous <a href="https://github.com/sponsors/bigskysoftwar
</a>
</td>
<td>
<a href=" https://transloadit.com/?utm_source=htmx&utm_medium=referral&utm_campaign=sponsorship&utm_content=website/">
<a data-github-account="transloadit" href=" https://transloadit.com/?utm_source=htmx&utm_medium=referral&utm_campaign=sponsorship&utm_content=website/">
<img alt="Transloadit" src="/img/logos-transloadit-default.svg" style="width:100%;max-width:200px">
</a>
</td>
<td>
<a href="https://uibakery.io"><img src="/img/ui-bakery.png" alt="UI Bakery" style="width:100%;max-width:250px"></a>
<a data-github-account="uibakery" href="https://uibakery.io"><img src="/img/ui-bakery.png" alt="UI Bakery" style="width:100%;max-width:250px"></a>
</td>
</tr>
<tr>
<td>
<a href=" https://deepsource.com/">
<a data-github-account="jai-deepsource" href=" https://deepsource.com/">
<img alt="Deepsource" src="/img/deepsource.svg" style="width:100%;max-width:250px">
</a>
</td>
<td>
<a href="https://rxdb.info/?utm_source=sponsor&utm_medium=githubsponsor&utm_campaign=githubsponsor-htmx">
<a data-github-account="pubkey" href="https://rxdb.info/?utm_source=sponsor&utm_medium=githubsponsor&utm_campaign=githubsponsor-htmx">
<img src="/img/rxdb.svg" alt="RxDB JavaScript Database" style="width:100%;max-width:150px"></a>
</td>
<td>
@ -167,21 +167,26 @@ Thank you to all our generous <a href="https://github.com/sponsors/bigskysoftwar
</tr>
<tr>
<td>
<a href="https://www.codacy.com//">
<a data-github-account="codacy" href="https://www.codacy.com//">
<img alt="Deepsource" src="/img/codacy.svg" style="width:100%;max-width:250px">
</a>
</td>
<td>
<a href="https://codereviewbot.ai/">
<a data-github-account="apesternikov" href="https://codereviewbot.ai/">
<img alt="AI Code Review Bot" src="/img/codereviewbot.svg" style="width:100%;max-width:250px">
</a>
</td>
<td>
<a href="https://www.llc.org/">
<a data-github-account="llcorg" href="https://www.llc.org/">
<img alt="How to start an LLC - a guide from LLC.org, proud open source sponsor" src="/img/llc-org.svg" style="width:100%;max-width:250px">
</a>
</td>
</tr>
<tr>
<td>
<a data-github-account="VPSServerCom" href="https://www.vpsserver.com/">
<img alt="VPS Server Hosting in the Cloud: Cost Efficiency" src="/img/vps-server-logo.svg" style="width:100%;max-width:250px">
</a>
</td>
</tr>
</table>

View File

@ -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
<form hx-post="/example" hx-disabled-elt="input[type='text'], button">
<input type="text" placeholder="Type here...">
<button type="submit">Send</button>
</form>
```
## Notes
* `hx-disable-elt` is inherited and can be placed on a parent element

View File

@ -1098,7 +1098,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.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.4 KiB