mysterious-toddler-20573
04/28/2022, 8:13 PMmysterious-toddler-20573
04/28/2022, 8:13 PMmysterious-toddler-20573
04/28/2022, 8:14 PMpowerful-eye-47205
04/28/2022, 11:21 PMhx-retarget for my error handlers so that for example a "404 - Not Found" message won't try to render in a tiny DOM element as the result of an AJAX (htmx) request. Works great unless there's also an hx-select in that htmx request. In that case, I get a blank screen in body since there's no #article element (or whatever) in my _404.html. If the hx-retarget overrides the request for where to target the response, is there any way to override the hx-select too?powerful-eye-47205
04/28/2022, 11:25 PMhx-reselect header 🙂mysterious-tomato-195
04/29/2022, 11:15 AM<form hx-boost="true" hx-trigger="change" ...>
<input type="text" hx-trigger="keyup changed delay:500ms" ...>
<select ...>
...other fields..
</form>
The trigger on the text input is ignored, but I'd like for it to have "precedence" over the form, if it makes any sense.
I tried a different approach before, where I didn't have the trigger on the form, but each field with its own and a hx-include. This solution was way more verbose, and doesn't work well with default select inputs, as the selected option is not actually updated.mysterious-toddler-20573
04/29/2022, 12:27 PMmysterious-toddler-20573
04/29/2022, 12:27 PMmysterious-toddler-20573
04/29/2022, 12:28 PMmysterious-tomato-195
04/29/2022, 12:33 PMmysterious-toddler-20573
04/29/2022, 12:46 PMmysterious-toddler-20573
04/29/2022, 12:46 PMmysterious-toddler-20573
04/29/2022, 12:47 PMmysterious-tomato-195
04/29/2022, 12:52 PMInput Request 0 appears, then as soon as you defocus the input Form Request 0 appears toomysterious-tomato-195
04/29/2022, 12:53 PMkeyup changed delay:500ms that overrides the form change triggermysterious-tomato-195
04/29/2022, 12:54 PMmysterious-tomato-195
04/29/2022, 12:55 PM_=on htmx:trigger submit #formtall-dinner-62086
04/29/2022, 1:01 PMmysterious-tomato-195
04/29/2022, 1:03 PMmysterious-tomato-195
04/29/2022, 1:04 PMmysterious-toddler-20573
04/29/2022, 1:11 PMmysterious-toddler-20573
04/29/2022, 1:11 PMmysterious-toddler-20573
04/29/2022, 1:11 PMmysterious-toddler-20573
04/29/2022, 1:12 PMmysterious-toddler-20573
04/29/2022, 1:12 PMmysterious-tomato-195
04/29/2022, 1:12 PMmysterious-toddler-20573
04/29/2022, 1:13 PMtall-dinner-62086
04/29/2022, 1:13 PMmysterious-toddler-20573
04/29/2022, 1:13 PMmysterious-toddler-20573
04/29/2022, 1:14 PMic-include to override that behavior if you want