worried-nest-35606
12/16/2021, 8:34 AMworried-nest-35606
12/16/2021, 8:34 AMgorgeous-airport-54386
12/16/2021, 8:34 AM<button> with aria-controlsgorgeous-airport-54386
12/16/2021, 8:34 AMgorgeous-airport-54386
12/16/2021, 8:35 AMgorgeous-airport-54386
12/16/2021, 8:35 AMgorgeous-airport-54386
12/16/2021, 8:36 AMnutritious-dress-29138
12/16/2021, 8:38 AMnutritious-dress-29138
12/16/2021, 8:38 AMgorgeous-airport-54386
12/16/2021, 8:46 AMmysterious-toddler-20573
12/16/2021, 10:33 AMgorgeous-airport-54386
12/16/2021, 10:34 AMhtml
<a hx href="/url" method="put"
target="#panel" data-include="#form" />brief-sugar-79424
12/16/2021, 1:16 PMbrief-sugar-79424
12/16/2021, 1:17 PMbrief-sugar-79424
12/16/2021, 1:17 PMmysterious-toddler-20573
12/16/2021, 1:27 PMmysterious-toddler-20573
12/16/2021, 1:28 PMmysterious-toddler-20573
12/16/2021, 1:29 PMhx-post or what have youmysterious-toddler-20573
12/16/2021, 1:29 PMbrief-sugar-79424
12/16/2021, 1:30 PMbrief-sugar-79424
12/16/2021, 1:33 PMbrief-sugar-79424
12/16/2021, 1:33 PMbrief-sugar-79424
12/16/2021, 1:33 PMbrief-sugar-79424
12/16/2021, 1:35 PMadamant-exabyte-92636
12/16/2021, 2:16 PMhx-trigger="change from:.userroles" (I would typically give the select an id and use that in the from:#elementId part instead)
or
you could put the hx-post, hx-target, etc attributes on the select element directly, along with hx-trigger="change"
or
you could use a bit of Javascript (I personally would use hyperscript for this), to trigger an event on change from the select on the form, and then still add a hx-trigger="<eventname>" on the formbrief-sugar-79424
12/16/2021, 2:43 PMbrief-sugar-79424
12/16/2021, 2:44 PMadamant-exabyte-92636
12/16/2021, 2:46 PMgray-morning-3453
12/16/2021, 4:24 PMif my customform@dirty is 'true'gorgeous-airport-54386
12/16/2021, 4:25 PM.customform in me