We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e64336 commit 77ea616Copy full SHA for 77ea616
1 file changed
select2.js
@@ -380,7 +380,7 @@ the specific language governing permissions and limitations under the Apache Lic
380
}
381
group.children=[];
382
$(datum.children).each2(function(i, childDatum) { process(childDatum, group.children); });
383
- if (group.children.length) {
+ if (group.children.length || query.matcher(t, text(group))) {
384
collection.push(group);
385
386
} else {
0 commit comments