@optionfactory/ful 6.0.2 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ful.iife.js +2 -4
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +2 -4
- package/dist/ful.mjs.map +1 -1
- package/package.json +1 -1
package/dist/ful.iife.js
CHANGED
|
@@ -1220,10 +1220,8 @@ var ful = (function (exports, ftl) {
|
|
|
1220
1220
|
static extractFrom(form, submitter){
|
|
1221
1221
|
let result = {};
|
|
1222
1222
|
for(const el of form.elements){
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
}
|
|
1226
|
-
if(submitter && (el.type==='submit' || el.type === 'reset') && el !== submitter){
|
|
1223
|
+
// we are assuming submitters are disabled during submit.
|
|
1224
|
+
if(!el.hasAttribute("name") || (el.matches(":disabled") && el !== submitter)){
|
|
1227
1225
|
continue;
|
|
1228
1226
|
}
|
|
1229
1227
|
result = Bindings.providePath(result, /** @type {string} */(el.getAttribute('name')), Bindings.extract(el));
|