From 9b7ecef679b1e01b5de6cb74bdcf55fc5a9b3866 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 8 Apr 2015 16:02:55 -0400 Subject: [PATCH] Keep blank values when placeholder is passed a string or false --- src/definitions/modules/dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 6a695da13..1e1b9ab42 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1197,7 +1197,7 @@ $.fn.dropdown = function(parameters) { ? $(this).attr('value') : name ; - if(value === '' && settings.placeholder !== false) { + if(settings.placeholder !== 'auto') { select.placeholder = name; } else {