Skip to content

fix(combobox): correct filtering when only one character is typed#2136

Closed
msoaresms wants to merge 1 commit into
mendix:mainfrom
msoaresms:main
Closed

fix(combobox): correct filtering when only one character is typed#2136
msoaresms wants to merge 1 commit into
mendix:mainfrom
msoaresms:main

Conversation

@msoaresms

Copy link
Copy Markdown

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.

Pull request type


Description

@msoaresms msoaresms requested a review from a team as a code owner March 11, 2026 16:08
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.
@gjulivan

Copy link
Copy Markdown
Collaborator

@leonardomendix

Copy link
Copy Markdown
Collaborator

Thanks for the PR. However, we will close this one for now, as the behaviour tested is effectively the same: with one-character input and single-word options, both versions produce the same results.

The threshold change (from WORD_STARTS_WITH to STARTS_WITH) only affects multi-word options, which weren't included in this validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants