diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index bf844a7c1..c350732c6 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -526,7 +526,7 @@ $.fn.dropdown = function(parameters) { event: { focus: function() { - if(!activated && module.is.hidden()) { + if(settings.showonFocus && !activated && module.is.hidden()) { module.show(); } }, @@ -558,7 +558,9 @@ $.fn.dropdown = function(parameters) { search: { focus: function() { activated = true; - module.show(); + if(settings.showOnFocus) { + module.show(); + } }, blur: function(event) { var @@ -2074,6 +2076,8 @@ $.fn.dropdown.settings = { action : 'activate', allowTab : true, + showOnFocus : true, + fullTextSearch : false, preserveHTML : true, sortSelect : false,