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.
text field with comboBox
Hi,
I would like to extend textField with a combo box. The use case is to have a search field in which you can also choose type of search. Here is a basic example what I would like to do:
https://uxmag.com/sites/default/files/styles/632x307/adaptive-image/public/article-images/usability-tip-dont-make-me-search-banner.png?itok=G0psUFZp
Is it somehow possible instead seting combo box next to text field?
I personally would go for the HorizontalLayout wrapping both the text field and the combobox, and handle the behaviour there manually. You can style it with css to make it look similar to what you show in the link.