Browse Source

#3886 fix default

pull/4074/head
Jack Lukic 8 years ago
parent
commit
4a8eef36de
1 changed files with 4 additions and 1 deletions
  1. 5
      src/definitions/modules/dropdown.js

5
src/definitions/modules/dropdown.js

@ -925,6 +925,9 @@ $.fn.dropdown = function(parameters) {
if(!itemActivated && !pageLostFocus) { if(!itemActivated && !pageLostFocus) {
if(settings.forceSelection) { if(settings.forceSelection) {
module.forceSelection(); module.forceSelection();
if(!willRefocus) {
module.hide();
}
} }
else { else {
module.hide(); module.hide();
@ -3371,7 +3374,7 @@ $.fn.dropdown.settings = {
apiSettings : false, apiSettings : false,
minCharacters : 1, // Minimum characters required to trigger API call
minCharacters : 0, // Minimum characters required to trigger API call
saveRemoteData : true, // Whether remote name/value pairs should be stored in sessionStorage to allow remote data to be restored on page refresh saveRemoteData : true, // Whether remote name/value pairs should be stored in sessionStorage to allow remote data to be restored on page refresh
throttle : 200, // How long to wait after last user input to search remotely throttle : 200, // How long to wait after last user input to search remotely

Loading…
Cancel
Save