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 ca9e33f commit 16170ceCopy full SHA for 16170ce
app/code/Magento/Ui/view/base/web/js/form/form.js
@@ -56,7 +56,7 @@ define([
56
57
case 'select-multiple':
58
var name = item.name.substring(0,(item.name.length - 2)); //remove [] from the name ending
59
- result[name] = Array.prototype.slice.call(item.selectedOptions).map(function(o) {return o.value;});
+ result[name] = _.pluck(item.selectedOptions, 'value');
60
break;
61
62
default:
0 commit comments