Browse Source

Keep blank values when placeholder is passed a string or false

pull/2092/head
jlukic 9 years ago
parent
commit
9b7ecef679
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/dropdown.js

2
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 {

Loading…
Cancel
Save