We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a00fd8 commit 014ddc8Copy full SHA for 014ddc8
src/sortablejs.js
@@ -91,7 +91,7 @@ function init(Survey) {
91
};
92
var getChoicesNotInResults = function () {
93
var res = [];
94
- question.activeChoices.forEach(function (choice) {
+ question.visibleChoices.forEach(function (choice) {
95
if (!hasValueInResults(choice.value)) {
96
res.push(choice);
97
}
@@ -104,7 +104,7 @@ function init(Survey) {
104
if (!Array.isArray(val)) return res;
105
for (var i = 0; i < val.length; i++) {
106
var item = Survey.ItemValue.getItemByValue(
107
- question.activeChoices,
+ question.visibleChoices,
108
val[i]
109
);
110
if (!!item) {
0 commit comments