gorgeous-airport-54386
09/21/2022, 4:42 AMaloof-crayon-56651
09/21/2022, 4:43 AMblue-ghost-19146
09/21/2022, 2:09 PMHX-Push
header is being used). Are there any common reasons why this may occur or useful ways of seeing the cause of the error in more detail? My guess is that the size of the content on the page is too large for it to be cached, but I have no real reasoning behind that.gifted-appointment-5037
09/21/2022, 5:07 PMechoing-dress-67727
09/21/2022, 6:19 PMthrottle
option on hx-trigger
, can that be applied across multiple events? For example, I want to trigger a request whenever a click or a mousemove
, touchstart
, or scroll
action happens, but I want to throttle all of those collectively, so that requests fire no more than every 30ms.echoing-dress-67727
09/21/2022, 6:20 PMhx-trigger="mousemove[checkForGlobalThrottle()], touchstart[checkForGlobalThrottle()], scroll[checkForGlobalThrottle()]"
but I'm hoping there's a cleaner wayechoing-dress-67727
09/21/2022, 6:22 PMclick
send one request, and a mouseover
send another request?ancient-shoe-86801
09/22/2022, 1:00 AMechoing-dress-67727
09/22/2022, 2:06 AMhtmx.ajax
, is there a way to add a callback for errors, just for that request?echoing-dress-67727
09/22/2022, 2:06 AMhtmx:responseError
on that element, but that would catch all instances of htmx errors on that element. I just want to set it up temporarily, for that one requestechoing-dress-67727
09/22/2022, 2:07 AM.then()
, but it seems no data gets passed to that callback. Same for catch()
.elegant-raincoat-69176
09/22/2022, 5:50 AMelegant-raincoat-69176
09/22/2022, 5:51 AMelegant-raincoat-69176
09/22/2022, 5:59 AMproud-librarian-99598
09/22/2022, 9:17 AMhtmx:redirectReceived
to force a full page reload when it happens (Usually when the user is no longer logged on).tall-dinner-62086
09/22/2022, 11:08 AMtall-dinner-62086
09/22/2022, 11:13 AMtall-dinner-62086
09/22/2022, 11:22 AMtall-dinner-62086
09/22/2022, 11:23 AMflat-painting-36912
09/22/2022, 1:38 PMflat-painting-36912
09/22/2022, 1:38 PMflat-painting-36912
09/22/2022, 1:38 PMhtml
<select class="selectpicker form-control" hx-post="{% url 'hypervisors' %}" hx-target="#hypervisor-select"
id="region-select" name="region" hx-trigger="change">
<option disabled selected>Choose region</option>
{% for region in regions %}
<option value="{{ region }}">{{ region }}</option>
{% endfor %}
</select>
flat-painting-36912
09/22/2022, 1:39 PMworried-portugal-65416
09/22/2022, 2:33 PMflat-painting-36912
09/22/2022, 3:57 PMmysterious-toddler-20573
09/22/2022, 4:16 PMmysterious-toddler-20573
09/22/2022, 4:16 PMtall-dinner-62086
09/22/2022, 4:16 PMmysterious-toddler-20573
09/22/2022, 4:16 PMtall-dinner-62086
09/22/2022, 4:16 PMouterHTML
too