Skip to content

ComboBoxTester.selectItem doesn't respect ComboBox native filtering. #2003

@nbabb

Description

@nbabb

We have a ComboBox that performs custom filtering

        setItems(
            { item, filterText ->
                ... custom filtering logic removed ...
            },
            myRepository.findAll().toList()
        )

Calling ComboBoxTester.selectItem doesn't respect this filtering and does filtering of its own

        final List<Y> filtered = suggestionItems.stream().filter(
                item -> selection.equals(itemLabelGenerator.apply(item)))
                .collect(Collectors.toList());

When calling the selectItem API it should respect the custom filtering behavior of the ComboBox.

Metadata

Metadata

Assignees

Type

Projects

Status

🔖 Normal Priority (P2)

Status

⚒️ In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions