Merge branch 'dev' of github.com:bigskysoftware/htmx into dev

This commit is contained in:
carson 2020-12-04 09:51:35 -07:00
commit 89a6914a28

View File

@ -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