mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Merge branch 'dev' of github.com:bigskysoftware/htmx into dev
This commit is contained in:
commit
89a6914a28
@ -1489,8 +1489,7 @@ return (function () {
|
||||
if (shouldInclude(elt)) {
|
||||
var name = getRawAttribute(elt,"name");
|
||||
var value = elt.value;
|
||||
if (hasAttribute(elt, 'multiple') &&
|
||||
getRawAttribute(elt, 'multiple') !== 'false') {
|
||||
if (elt.multiple) {
|
||||
value = toArray(elt.querySelectorAll("option:checked")).map(function (e) { return e.value });
|
||||
}
|
||||
// include file inputs
|
||||
|
Loading…
x
Reference in New Issue
Block a user