few-fish-46602
01/04/2023, 2:26 PMmysterious-toddler-20573
01/04/2023, 2:39 PMrich-television-50179
01/04/2023, 2:52 PMhtmx.min.js
and include it by this <script src="{% static 'includes/htmx/htmx.min.js' %}"></script>
rich-television-50179
01/04/2023, 3:26 PMrhythmic-shoe-62185
01/04/2023, 4:11 PMmysterious-toddler-20573
01/04/2023, 4:33 PMhandsome-room-10543
01/04/2023, 5:36 PM<body hx-boost="true">
affect plain old forms with the action attribute and a submit input?mysterious-toddler-20573
01/04/2023, 5:37 PMhandsome-room-10543
01/04/2023, 5:39 PMmysterious-toddler-20573
01/04/2023, 5:40 PMwhite-london-59674
01/04/2023, 6:01 PMimportant-van-94053
01/04/2023, 6:26 PMmysterious-toddler-20573
01/04/2023, 6:48 PMmysterious-toddler-20573
01/04/2023, 6:48 PMrhythmic-shoe-62185
01/04/2023, 9:38 PMaloof-ambulance-27312
01/04/2023, 10:13 PMgorgeous-airport-54386
01/04/2023, 10:18 PMlimited-potato-46306
01/05/2023, 8:46 AMrich-television-50179
01/05/2023, 12:13 PMlate-king-98305
01/05/2023, 2:02 PMcrooked-afternoon-55514
01/05/2023, 2:18 PMmysterious-toddler-20573
01/05/2023, 2:29 PMcrooked-afternoon-55514
01/05/2023, 2:30 PMcrooked-afternoon-55514
01/05/2023, 2:44 PMcrooked-afternoon-55514
01/05/2023, 2:46 PMmagnificent-boots-1658
01/05/2023, 4:41 PM<button type="submit">
with an hx-post
on it. The <button>
has a name
and value
attribute to pass some information about which submit button was clicked to the backend.
This works fine at this level of complexity. Easy peasy.
However, if I add a child element (a legal one like a <span>
) and the click technically originates from the <span>
, the `name`/`value` data does not pass onto the backend in the POST
data.
Do we think that:
1. This is an HTMX issue?
2. This is intentional in-spec behavior for HTML?
3. Something else?mysterious-toddler-20573
01/05/2023, 4:42 PMmagnificent-boots-1658
01/05/2023, 4:42 PMmysterious-toddler-20573
01/05/2023, 4:42 PM