diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 483a64b81..032ccb3a6 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -934,8 +934,8 @@ $.fn.dropdown = function(parameters) { module.setup.menu({values: values}); $.each(values, function(index, item) { if(item.selected == true) { - module.debug('Setting initial selection to', item[fields.value]); - module.set.selected(item[fields.value]); + module.debug('Setting initial selection to', String(item[fields.value])); + module.set.selected(String(item[fields.value])); return true; } });