소스 검색

clear search field when data() is used. #178

Igor Vaynberg 13 년 전
부모
커밋
4ddcc52635
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      select2.js

+ 1 - 0
select2.js

@@ -1820,6 +1820,7 @@
                 ids = $.map(values, function(e) { return self.opts.id(e)});
                 this.setVal(ids);
                 this.updateSelection(values);
+                this.clearSearch();
             }
         }
     });