Skip to content

Commit d95e15c

Browse files
omiroshnichenkohostep
authored andcommitted
Backport of MAGETWO-80198 for Magento 2.1: Fix issue #10565 #10575
(cherry picked from commit b73d513)
1 parent 918dd05 commit d95e15c

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ define([
4949
* @param {Array} data - current component value
5050
*/
5151
setPrepareToSendData: function (data) {
52-
if (!data.length) {
52+
if (_.isUndefined(data) || !data.length) {
5353
data = '';
5454
}
5555

0 commit comments

Comments
 (0)