Skip to content

Commit 09d757b

Browse files
Change search_text to use option.text rather than option.html
1 parent 28e550a commit 09d757b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎coffee/lib/abstract-chosen.coffee‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class AbstractChosen
153153

154154
unless option.group and not @group_search
155155

156-
option.search_text = if option.group then option.label else option.html
156+
option.search_text = if option.group then option.label else option.text
157157
option.search_match = this.search_string_match(option.search_text, regex)
158158
results += 1 if option.search_match and not option.group
159159

0 commit comments

Comments
 (0)