From 740d4470257fe79edd7dfaef44531abf2473e84e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 25 Sep 2019 12:54:39 +0800 Subject: [PATCH] Roo/form/BasicForm.js --- Roo/form/BasicForm.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Roo/form/BasicForm.js b/Roo/form/BasicForm.js index a40c6e9102..3f2d7fdd57 100644 --- a/Roo/form/BasicForm.js +++ b/Roo/form/BasicForm.js @@ -543,7 +543,10 @@ clientValidation Boolean Applies to submit only. Pass true to call fo var fd = new FormData(this.el.dom); var ret = {}; while (pair = fd.entries().next()) { - ret[pair[0]] = pair[1]; // not sure how this will handle duplicates.. + if (pair.done) { + break; + } + ret[pair.value[0]] = pair.value[1]; // not sure how this will handle duplicates.. }; return ret; } -- 2.39.2