Skip to content

Commit 9e263a8

Browse files
committed
Fix issue #10565: Creation of new product does not work with custom attribute set
1 parent de4dbe1 commit 9e263a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/multiselect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ define([
5252
* @param {Array} data - current component value
5353
*/
5454
setPrepareToSendData: function (data) {
55-
if (!data.length) {
55+
if (_.isUndefined(data) || !data.length) {
5656
data = '';
5757
}
5858

0 commit comments

Comments
 (0)