From 5bcc49acef9a454377f29a02a6b298672746b3e0 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 5 May 2015 17:33:33 -0400 Subject: [PATCH] #2213, user value uses .text.toLowercase() not stored metadata value --- src/definitions/modules/dropdown.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 8ca0156d6..7ea7c3b70 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1981,6 +1981,7 @@ $.fn.dropdown = function(parameters) { if($addition.length > 0) { $addition .html(html) + .data(metadata.value, value) .removeClass(className.filtered) .addClass(className.selected) ; @@ -1988,6 +1989,7 @@ $.fn.dropdown = function(parameters) { else { $addition = $('
') .html(html) + .data(metadata.value, value) .addClass(className.addition) .addClass(className.item) .prependTo($menu)