Browse Source

Merge branch 'next' of github.com:Semantic-Org/Semantic-UI

pull/2596/head
jlukic 9 years ago
parent
commit
cc2d03def2
1 changed files with 6 additions and 0 deletions
  1. 6
      src/definitions/modules/dropdown.js

6
src/definitions/modules/dropdown.js

@ -2090,6 +2090,12 @@ $.fn.dropdown = function(parameters) {
return;
}
}
if($input.is('select') && settings.apiSettings) {
module.debug('Adding an option to the select before setting the value', value);
module.add.optionValue(value);
}
module.debug('Updating input value', value, currentValue);
$input
.val(value)

Loading…
Cancel
Save