We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1347183 commit a6de762Copy full SHA for a6de762
app/code/Magento/Ui/view/base/web/js/form/form.js
@@ -38,7 +38,8 @@ define([
38
* @returns {Object}
39
*/
40
function collectData(items) {
41
- var result = {};
+ var result = {},
42
+ name;
43
44
items = Array.prototype.slice.call(items);
45
@@ -55,7 +56,7 @@ define([
55
56
break;
57
58
case 'select-multiple':
- var name = item.name.substring(0,(item.name.length - 2)); //remove [] from the name ending
59
+ name = item.name.substring(0, item.name.length - 2); //remove [] from the name ending
60
result[name] = _.pluck(item.selectedOptions, 'value');
61
62
0 commit comments