diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index affc7e485..67aff361f 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -2158,8 +2158,8 @@ $.fn.dropdown = function(parameters) { module.select.nextAvailable($selectedItem); } else { - module.add.value(selectedValue, selectedText, $selected); module.set.text(module.add.variables(message.count)); + module.add.value(selectedValue, selectedText, $selected); $selected.addClass(className.active); } } @@ -2172,8 +2172,8 @@ $.fn.dropdown = function(parameters) { if(settings.apiSettings && settings.saveRemoteData) { module.save.remoteData(selectedText, selectedValue); } - module.set.value(selectedValue, selectedText, $selected); module.set.text(selectedText); + module.set.value(selectedValue, selectedText, $selected); $selected .addClass(className.active) .addClass(className.selected)