Skip to content

Commit 1d2ecd3

Browse files
author
Oleksii Korshenko
authored
MAGETWO-87746: Backport of MAGETWO-80198 for Magento 2.1: Fix issue #10565 #10575 #13549
2 parents afbc7d6 + 5e17c57 commit 1d2ecd3

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
@@ -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)