Browse Source

Search selection now allows re-searching after selection

1.0
jlukic 10 years ago
parent
commit
05178b8de2
1 changed files with 7 additions and 1 deletions
  1. 8
      src/definitions/modules/dropdown.js

8
src/definitions/modules/dropdown.js

@ -411,7 +411,10 @@ $.fn.dropdown = function(parameters) {
query = $search.val()
;
if(module.is.searchSelection()) {
$text.addClass(className.filtered);
if( module.can.show() ) {
module.show();
}
module.set.filtered();
}
module.filter(query);
},
@ -816,6 +819,9 @@ $.fn.dropdown = function(parameters) {
},
set: {
filtered: function() {
$text.addClass(className.filtered);
},
tabbable: function() {
if( module.is.searchable() ) {
module.debug('Searchable dropdown initialized');

Loading…
Cancel
Save