bigskysoftware / bigskysoftware/htmx
hx-params is ignored if included inside a form element
Open
- Dominant language
- JavaScript
- Stars
- 49.4k
- Forks
- 1.7k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 30
Description
By the default, if the HTMX request is sent from a form element, all fields are sent and hx-params is ignored.
Maybe the documentation should be updated to mention this behaviour or change the behaviour to allow filtering parameters even if the request is sent from a form element.
```
```
In the previous example, all the fields will be sent ignoring hx-params. I would have thought that only 'field1' would be sent.
Contributor guide
Assessment
This issue has not been assessed yet.