Skip to content

Commit

Permalink
Keep blank values when placeholder is passed a string or false
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Apr 8, 2015
1 parent 3913c17 commit 9b7ecef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9b7ecef

Please sign in to comment.