From 609e682f0dd44c8ced3975832da88630601d3d41 Mon Sep 17 00:00:00 2001 From: Matheus Soares Date: Wed, 11 Mar 2026 12:06:02 -0400 Subject: [PATCH] fix(combobox): correct filtering when only one character is typed Issue: filtering did not work correctly when only one character was entered. Root cause: startsWith search option was using WORD_STARTS_WITH. Solution: replaced WORD_STARTS_WITH with STARTS_WITH. --- packages/pluggableWidgets/combobox-web/src/helpers/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pluggableWidgets/combobox-web/src/helpers/utils.ts b/packages/pluggableWidgets/combobox-web/src/helpers/utils.ts index 51dd54cd62..fc3cc0fed5 100644 --- a/packages/pluggableWidgets/combobox-web/src/helpers/utils.ts +++ b/packages/pluggableWidgets/combobox-web/src/helpers/utils.ts @@ -94,7 +94,7 @@ export function getFilterTypeOptions(filter: FilterTypeEnum): MatchSorterOptions }; case "startsWith": return { - threshold: matchSorter.rankings.WORD_STARTS_WITH + threshold: matchSorter.rankings.STARTS_WITH }; case "none": return {