Vincent

Results 309 comments of Vincent

> i agree, but I'd also call this a breaking change. A breaking change indeed, but of what is by definition already a broken state. The problem I see with...

It's not only about forms, it applies to every request, including those made with htmx.ajax, it doesn't only apply to something that doesn't exist. Besides, it still resolves to simple...

To expand on my previous point, see [this JSFiddle](https://jsfiddle.net/tyzfomph/) It features 2 calls to htmx.ajax, one using the GET method, one using DELETE. See in the inspector how the DELETE...

I had missed it but the RFC has been updated as of [June 2022](https://www.rfc-editor.org/rfc/rfc9110) In [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110.html): First, just [a change in the formulation](https://www.rfc-editor.org/rfc/rfc9110.html#name-changes-from-rfc-7231) so that the next quote will...

Honestly I would agree on that choice with you, if the behaviour to keep retro compatible, was an intended/expected behaviour, not a behavior that `SHOULD NOT` _(quoting the RFC)_ be...

I would say that not behaving as a form element does by default, is a bug "by definition", but I may be wrong. I think it's due to [this line](https://github.com/bigskysoftware/htmx/blob/master/src/htmx.js#L2260)...

Oh you're right, looked further into it - [This if statement](https://github.com/bigskysoftware/htmx/blob/master/src/htmx.js#L2355) first includes the clicked button's value in the generated payload - But then [this following statement](https://github.com/bigskysoftware/htmx/blob/master/src/htmx.js#L2376) merges the clicked...

Hey, the query selector passed to [hx-include](https://htmx.org/attributes/hx-include/) simply resolves to [document.querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll). A standard CSS selector will not take the element defining the hx-include's position in the hierarchy Take a look...

You're right, inheritance is often confusing across attributes & behaviours ! I'll submit a PR sometime soon to improve the doc here (and also provide more code examples for hx-include...

Digged into it, it's because typing `formElement.anything` returns all inputs declaring that `anything` as their name, as an object or an array if there are several of them. You can...