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.
Combo box selection pops up a keyboard in iPhone/iPad
I have a combobox with several choices. I want to chose one of the choices but with the iPhone/iPad the keyboard shows up which is something I don't want in this case.
Is there any solution to prevent keyboard showing up?
I am using the latest version of Vaadin and iOS.
Hi,
have you tried NativeSelect instead of ComboBox? It uses the browser's native dropdown (ie the HTML <select>) instead of a custom client-side widget.
Best regards,
Olli
Olli Tietäväinen: Hi,
have you tried NativeSelect instead of ComboBox? It uses the browser's native dropdown (ie the HTML <select>) instead of a custom client-side widget.
Best regards,
Olli
Hi Olli,
With the NativeSelect I have difficulties to show the icons for my items in the list.
I am using setItemIcon(item, new ThemeResource(<icon path>)) but I can not see any icons when I am running the code.
Hi,
that's right, NativeSelect doesn't support icons. The HTML select items, <option> elements, only accept text content. What about if you use
comboBox.setTextInputAllowed(false);
?