소스 검색

clear search when val() is called. closes #45 closes #46

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

+ 2 - 0
select2.js

@@ -1399,6 +1399,8 @@
                 this.setVal(data);
                 this.updateSelection(val);
             }
+
+            this.clearSearch();
         }
     });