Browse Source

#2020 Fixes trim string method being called on non-string dropdown values

pull/2034/head
jlukic 9 years ago
parent
commit
703423013e
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/dropdown.js

2
src/definitions/modules/dropdown.js

@ -1110,7 +1110,7 @@ $.fn.dropdown = function(parameters) {
? $choice.data(metadata.value)
: (typeof choiceText === 'string')
? choiceText.toLowerCase().trim()
: choiceText.trim()
: choiceText
;
},
inputEvent: function() {

Loading…
Cancel
Save