gorgeous-airport-54386
02/17/2022, 5:02 PMgorgeous-airport-54386
02/17/2022, 5:02 PMgorgeous-airport-54386
02/17/2022, 5:03 PMhundreds-camera-24900
02/17/2022, 5:03 PMhundreds-camera-24900
02/17/2022, 5:03 PMhundreds-camera-24900
02/17/2022, 5:03 PMgorgeous-airport-54386
02/17/2022, 5:03 PMhundreds-camera-24900
02/17/2022, 5:03 PMhundreds-camera-24900
02/17/2022, 5:04 PMgorgeous-airport-54386
02/17/2022, 5:04 PMhundreds-camera-24900
02/17/2022, 5:04 PMgorgeous-airport-54386
02/17/2022, 5:05 PMgorgeous-airport-54386
02/17/2022, 5:05 PMhundreds-camera-24900
02/17/2022, 5:05 PMhundreds-camera-24900
02/17/2022, 5:05 PMgorgeous-airport-54386
02/17/2022, 5:05 PMhundreds-camera-24900
02/17/2022, 5:06 PMgorgeous-airport-54386
02/17/2022, 5:06 PMgorgeous-airport-54386
02/17/2022, 5:07 PM@bot make a thread from the conversation between me, @gone in the last hourhundreds-camera-24900
02/17/2022, 5:08 PMhundreds-camera-24900
02/17/2022, 5:08 PMgorgeous-airport-54386
02/17/2022, 5:09 PMhundreds-camera-24900
02/17/2022, 5:10 PMgorgeous-airport-54386
02/17/2022, 5:10 PMhundreds-camera-24900
02/17/2022, 5:10 PMcalm-ice-23682
02/17/2022, 5:20 PMgorgeous-airport-54386
02/17/2022, 5:23 PMgorgeous-airport-54386
02/17/2022, 5:23 PMpolite-napkin-77631
02/17/2022, 6:13 PM<div hx-target="this" hx-swap="outerHTML">
<!-- ... -->
<button hx-get="/hx_u_project/1">
Edit
</button>
</div>
This button works. The div is replaced with pre-filled form html:
<form hx-post="/hx_u_project/1" method="post">
<!-- ... -->
<input type="button" name="submit" value="Save">
</form>
But when clicking the submit button on the form no network request is triggered, and no errors are seen in the console.
Am I missing something super obvious?polite-napkin-77631
02/17/2022, 6:17 PM