Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
ComboBox Filter CONTAINS
Hi,
I tried to set up a ComboBox with filter CONTAINS:
myComboBox.setFilteringMode(FilteringMode.CONTAINS);
However, the filter seems to implement the logic I would expect from STARTSWITH. I can select items by typing the beginning of the string, but trying to select strings by letters being not at the beginning of the strings results in an empty selection. A typical string I am using has the form "3004056243 AB Orange" and typing AB results in an empty list, as well as typing 00 or ang, etc.
Am I missing something?
Just out of curiosity, what was the issue? The solution could be useful for someone else struggling with the same thing.
-Olli