Explorar el Código

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

Igor Vaynberg hace 13 años
padre
commit
ee6f8975a6
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      select2.js

+ 2 - 0
select2.js

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