mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-29 22:11:22 +00:00
Add a note that the name
attribute of an input is important (#1026)
This commit is contained in:
parent
51653ee93b
commit
b25584aece
@ -537,6 +537,8 @@ attribute on the elements you wish to be preserved.
|
||||
By default, an element that causes a request will include its value if it has one. If the element is a form it
|
||||
will include the values of all inputs within it.
|
||||
|
||||
The `name` attribute of the input is used as the parameter name in the request that htmx does.
|
||||
|
||||
Additionally, if the element causes a non-`GET` request, the values of all the inputs of the nearest enclosing form
|
||||
will be included.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user