@expressen/tallahassee
Advanced tools
Comparing version 11.4.0 to 11.5.0
@@ -6,2 +6,6 @@ Changelog | ||
# 11.5.0 | ||
- Make form elements a live list and pick proper form elements | ||
# 11.4.0 | ||
@@ -8,0 +12,0 @@ |
@@ -198,3 +198,3 @@ "use strict"; | ||
const payload = inputs.reduce((acc, input) => { | ||
const payload = Array.from(inputs).reduce((acc, input) => { | ||
if (input.disabled) return acc; | ||
@@ -201,0 +201,0 @@ |
@@ -5,2 +5,3 @@ "use strict"; | ||
const Element = require("./Element"); | ||
const HTMLFormControlsCollection = require("./HTMLFormControlsCollection"); | ||
const RadioNodeList = require("./RadioNodeList"); | ||
@@ -35,3 +36,3 @@ | ||
get elements() { | ||
return this.$elm.find("input,button,select,textarea").map((_, e) => this.ownerDocument._getElement(this.ownerDocument.$(e))).toArray(); | ||
return new HTMLFormControlsCollection(this, "input[type!=image],button,select,textarea,fieldset,object,output"); | ||
} | ||
@@ -38,0 +39,0 @@ submit() { |
{ | ||
"name": "@expressen/tallahassee", | ||
"version": "11.4.0", | ||
"version": "11.5.0", | ||
"description": "Expressen client testing framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100965
51
2785