From f28987bce5aaf2bddec9ec3d682482fac8234562 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 6 Sep 2021 13:34:34 +0200 Subject: [PATCH] Prepare for forms migration --- www/form/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/form/inner.js b/www/form/inner.js index 75fe1db3c..6e70260c7 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -85,7 +85,7 @@ define([ var extractValues = function (values) { if (!Array.isArray(values)) { return []; } return values.map(function (obj) { - if (typeof(obj) === "string") { return obj; } + if (!Util.isObject(obj)) { return obj; } return obj.v; }); };