Skip to content

Commit 89fb963

Browse files
authored
feat(dropdown): new default exact for fulltextsearch
As proposed in #1745 (comment) this PR changes the default value for fullTextSearch to exact as it already is for the search component. As this is a breaking change it is supposed to be part of 2.9
1 parent 3ca5ff5 commit 89fb963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/definitions/modules/dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3986,7 +3986,7 @@ $.fn.dropdown.settings = {
39863986
keepOnScreen : true, // Whether dropdown should check whether it is on screen before showing
39873987

39883988
match : 'both', // what to match against with search selection (both, text, or label)
3989-
fullTextSearch : false, // search anywhere in value (set to 'exact' to require exact matches)
3989+
fullTextSearch : 'exact', // search anywhere in value (set to 'exact' to require exact matches)
39903990
ignoreDiacritics : false, // match results also if they contain diacritics of the same base character (for example searching for "a" will also match "á" or "â" or "à", etc...)
39913991
hideDividers : false, // Whether to hide any divider elements (specified in selector.divider) that are sibling to any items when searched (set to true will hide all dividers, set to 'empty' will hide them when they are not followed by a visible item)
39923992

0 commit comments

Comments
 (0)