Skip to content

Conversation

Artur-
Copy link
Member

@Artur- Artur- commented Oct 7, 2025

The selectItem method now applies the filter text before searching for items, ensuring it respects the ComboBox's custom filtering logic set via setItems(ItemFilter, Collection). This matches the behavior a user would experience when typing in the ComboBox.

  • Applied filter before selection in ComboBoxTester.selectItem
  • Applied same fix to MultiSelectComboBoxTester.selectItem
  • Clear filter after selection to restore original state
  • Added tests to verify the fix works with custom filtering

Fixes #2003

The selectItem method now applies the filter text before searching for items,
ensuring it respects the ComboBox's custom filtering logic set via
setItems(ItemFilter, Collection). This matches the behavior a user would
experience when typing in the ComboBox.

- Applied filter before selection in ComboBoxTester.selectItem
- Applied same fix to MultiSelectComboBoxTester.selectItem
- Clear filter after selection to restore original state
- Added tests to verify the fix works with custom filtering

Fixes #2003

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ComboBoxTester.selectItem doesn't respect ComboBox native filtering.

1 participant