Loading...
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.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

ComboBox auto-select with enter key

Eric G
6 years ago May 22, 2015 6:41am
Emmanuelle Victoria
6 years ago May 22, 2015 8:00am

As per checking http://demo.vaadin.com/sampler/#ui/data-input/multiple-value/combo-box, you can view its code by clicking i on the top then select the source tab. Check the setNewItemHandler method used in the combobox. That should provide the behaviour you want.

Eric G
6 years ago May 22, 2015 6:55pm

Thank you very much!
I got what I wanted from the setNewItemHandler method.