Skip to content

Commit

Permalink
Fix placeholder uses auto not boolean true #2072
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Apr 8, 2015
1 parent 99d849c commit 3913c17
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 @@ -1216,7 +1216,7 @@ $.fn.dropdown = function(parameters) {
}
})
;
if(typeof settings.placeholder !== 'boolean') {
if(settings.placeholder && settings.placeholder !== 'auto') {
module.debug('Setting placeholder value to', settings.placeholder);
select.placeholder = settings.placeholder;
}
Expand Down

0 comments on commit 3913c17

Please sign in to comment.