Skip to content

Commit 2d11284

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9553291 + 5dda81a commit 2d11284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inputTypes/select-multiple/select-multiple.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ AutoForm.addInputType("select-multiple", {
1717
// #each uses to track unique list items when adding and removing them
1818
// See https://github.com/meteor/meteor/issues/2174
1919
_id: subOpt.value,
20-
selected: _.contains(context.value, opt.value),
20+
selected: _.contains(context.value, subOpt.value),
2121
atts: context.atts
2222
};
2323
});
@@ -55,4 +55,4 @@ Template["afSelectMultiple"].helpers({
5555
}
5656
return atts;
5757
}
58-
});
58+
});

0 commit comments

Comments
 (0)