N.Zetoutou
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
dist/components/dropdown.js
|
|
@ -803,7 +803,9 @@ $.fn.dropdown = function(parameters) { |
|
|
|
value |
|
|
|
; |
|
|
|
if(settings.match == 'both' || settings.match == 'text') { |
|
|
|
|
|
|
|
text = String(module.get.choiceText($choice, false)); |
|
|
|
text = text.normalize('NFD').replace(/[\u0300-\u036f]/g, ""); |
|
|
|
if(text.search(beginsWithRegExp) !== -1) { |
|
|
|
results.push(this); |
|
|
|
return true; |
|
|
|