diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index bd2355cd2..0ca6310e8 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -3312,6 +3312,7 @@ $.fn.dropdown.settings = { fields: { values : 'values', // grouping for all dropdown values name : 'name', // displayed dropdown text + text : 'text', // displayed label text value : 'value' // actual dropdown value }, @@ -3388,7 +3389,11 @@ $.fn.dropdown.settings.templates = { menu: function(response, fields) { var html = ''; $.each(response[fields.values], function(index, option) { - html += '
' + option[fields.name] + '
'; + html += '
'; }); return html; },