This website works better with JavaScript
Home
Explore
Help
Sign In
hugh
/
select2
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
clear search when val() is called. closes
#45
closes
#46
Igor Vaynberg
13 years ago
parent
891102ff47
commit
ee6f8975a6
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
select2.js
+ 2
- 0
select2.js
View File
@@ -1399,6 +1399,8 @@
this.setVal(data);
this.updateSelection(val);
}
+
+ this.clearSearch();
}
});