colossal-glass-79762
01/09/2021, 6:54 PMmysterious-toddler-20573
01/09/2021, 10:09 PMcolossal-glass-79762
01/09/2021, 10:22 PMcolossal-glass-79762
01/09/2021, 10:22 PMcolossal-glass-79762
01/09/2021, 10:23 PMcolossal-glass-79762
01/09/2021, 11:03 PMmysterious-toddler-20573
01/09/2021, 11:34 PMsalmon-xylophone-28580
01/10/2021, 4:48 AMgorgeous-airport-54386
01/10/2021, 6:59 AMsalmon-xylophone-28580
01/10/2021, 4:23 PMsalmon-xylophone-28580
01/10/2021, 4:24 PMmysterious-toddler-20573
01/10/2021, 4:36 PM<tr> listening for changed which should bubble up from the selectmysterious-toddler-20573
01/10/2021, 4:36 PMhtmx.loggAll() in there and see if there is anything in the console?mysterious-toddler-20573
01/10/2021, 4:40 PMhx-get on the select, and target the row instead:
html
<select name="runner" required id="id_runner"
hx-post="/leg/155/Talfreunde/ %}"
hx-swap="outerHTML"
hx-target="closest tr">
<option value="">---------</option>
...
</select>
in fact, that is probably what you want, since you want the value of the select included in the request (it won't be if you put the request on the tr unless the whole thing is surrounded by a <form> tag)
Also, you maybe want an hx-get since this isn't a mutating request?mysterious-toddler-20573
01/10/2021, 6:40 PMhx-include directivesalmon-xylophone-28580
01/10/2021, 9:05 PMgorgeous-airport-54386
01/10/2021, 9:09 PMgorgeous-airport-54386
01/10/2021, 9:10 PMmysterious-toddler-20573
01/10/2021, 10:33 PMmysterious-toddler-20573
01/10/2021, 10:33 PMmysterious-toddler-20573
01/10/2021, 10:36 PMhx-vars is deprecated in favor of hx-vals
hx-vals supports a js: prefix that will let you evaluate javascript if you want
new attribute, hx-headers has same behavior, can be used to set headersgorgeous-airport-54386
01/10/2021, 10:37 PMadamant-exabyte-92636
01/10/2021, 10:48 PMmysterious-toddler-20573
01/10/2021, 11:25 PMadamant-exabyte-92636
01/11/2021, 1:32 AMhx-boost) not include the button that caused the form to be submitted as a post parameter?adamant-exabyte-92636
01/11/2021, 1:35 AMhx-boosted="true" and hx-boosted="false". In the "false" case (i.e. normal form post), the button name is included (I'm using <button name="foo" value="bar" type="submit">Submit me</button>), but in the "true" case, it's not in the submitted params?mysterious-toddler-20573
01/11/2021, 2:18 AMmysterious-toddler-20573
01/11/2021, 2:19 AMmysterious-toddler-20573
01/11/2021, 2:19 AM