Skip to content

Commit 5e17c57

Browse files
MAGETWO-87746: Backport of MAGETWO-80198 for Magento 2.1: Fix issue #10565 #10575 #13549
- Merge Pull Request #13549 from hostep/magento2:backport-magetwo-80198 - Merged commits: 1. d95e15c
2 parents bbb6f9a + d95e15c commit 5e17c57

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)