@@ -113,6 +113,7 @@ const SearchSuggestionsBox = forwardRef(({
113113 isHighlightEnabled = false ,
114114 isSpotlightEnabled = false ,
115115 isClientSideSearchEnabled = true ,
116+ isClientSideSearchCaseSensitive = true ,
116117 descriptionPlacement = "left" ,
117118 onSuggestionClicked,
118119 DefaultIcon,
@@ -123,6 +124,7 @@ const SearchSuggestionsBox = forwardRef(({
123124 isHighlightEnabled ?: boolean ,
124125 isSpotlightEnabled ?: boolean ,
125126 isClientSideSearchEnabled ?: boolean ,
127+ isClientSideSearchCaseSensitive ?: boolean ,
126128 descriptionPlacement ?: "left" | "right" ,
127129 onSuggestionClicked : ( value : string ) => void ,
128130 DefaultIcon ?: IconType
@@ -159,6 +161,7 @@ const SearchSuggestionsBox = forwardRef(({
159161 list : languageSuggestions ,
160162 onSuggestionClicked : createOnSuggestionClickedHandler ( ) ,
161163 isSpotlightEnabled : true ,
164+ isClientSideSearchCaseSensitive : false ,
162165 }
163166 }
164167 case "refine" :
@@ -205,7 +208,7 @@ const SearchSuggestionsBox = forwardRef(({
205208 const fuse = new Fuse ( list , {
206209 threshold,
207210 keys : [ 'value' ] ,
208- isCaseSensitive : true ,
211+ isCaseSensitive : isClientSideSearchCaseSensitive ,
209212 } ) ;
210213
211214 const suggestions = ( ( ) => {
0 commit comments